Skip to content

Commit

Permalink
CI: pin 1.82 rustc for msvc builds
Browse files Browse the repository at this point in the history
  • Loading branch information
extiop committed Dec 16, 2024
1 parent 3a2a2bd commit bdba30d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
# pin to 1.82 cf. https://github.com/ANSSI-FR/MLA/pull/227#issuecomment-2545916785
toolchain: 1.82
default: true
target: ${{ matrix.target }}
- uses: microsoft/[email protected]
- name: Compile C/CPP bindings test program for Windows
working-directory: bindings/C/tests/windows-msvc/
run: cargo rustc -- --print=native-static-libs
# run: msbuild mla-bindings-test.sln /p:Platform=${{ matrix.msvc_platform }} /p:Configuration=${{ matrix.version }}
run: msbuild mla-bindings-test.sln /p:Platform=${{ matrix.msvc_platform }} /p:Configuration=${{ matrix.version }}
- name: Run C/CPP bindings test program on Windows
working-directory: bindings/C/tests/windows-msvc/
run: ./${{ matrix.msvc_platform }}/${{ matrix.version }}/mla-bindings-test.exe
Expand Down

0 comments on commit bdba30d

Please sign in to comment.