Skip to content

Commit

Permalink
CI: Set linker path for x86_64-pc-windows-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
barrbrain committed Dec 13, 2023
1 parent 2552791 commit 6f35585
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@ jobs:
- name: Build rav1e
env:
RUSTFLAGS: "-C target-cpu=${{ matrix.target_cpu }}"
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER: "C:\\msys64\\mingw64\\bin\\x86_64-w64-mingw32-gcc.exe"
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_AR: "C:\\msys64\\mingw64\\bin\\ar.exe"
run: cargo build --profile ${{ matrix.profile }}

- name: Run cargo-c
env:
RUSTFLAGS: "-C target-cpu=${{ matrix.target_cpu }}"
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER: "C:\\msys64\\mingw64\\bin\\x86_64-w64-mingw32-gcc.exe"
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_AR: "C:\\msys64\\mingw64\\bin\\ar.exe"
run: |
cargo fetch
cargo cinstall --profile ${{ matrix.profile }} --destdir="C:\" --offline
Expand Down

0 comments on commit 6f35585

Please sign in to comment.