Skip to content

Commit

Permalink
Fix release build on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Sep 26, 2024
1 parent 8cd57ea commit e5707f7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,19 @@ jobs:
run: cargo -Zgitoxide -Zgit build --locked -Z build-std --target ${{ matrix.build.target }} --profile production
if: runner.os == 'macOS'

- name: Build app (Linux or Windows, normal, CUDA)
- name: Build app (Linux, normal, CUDA)
# CXX for CUDA
env:
CXX: g++-12
RUSTFLAGS: ${{ matrix.build.rustflags }}
run: cargo -Zgitoxide -Zgit build --locked -Z build-std --target ${{ matrix.build.target }} --profile production --features cuda
if: runner.os == 'Linux' || runner.os == 'Windows'
if: runner.os == 'Linux'

- name: Build app (Windows, normal, CUDA)
env:
RUSTFLAGS: ${{ matrix.build.rustflags }}
run: cargo -Zgitoxide -Zgit build --locked -Z build-std --target ${{ matrix.build.target }} --profile production --features cuda
if: runner.os == 'Windows'

- name: Create bundle (macOS)
run: |
Expand Down

0 comments on commit e5707f7

Please sign in to comment.