Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yaojianpin authored May 22, 2024
1 parent 2d83fcb commit aa68d74
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh
sh rustup-init.sh -y --default-toolchain none
rustup target add ${{ matrix.target }}
- name: Add mingw64 to path for x86_64-gnu
- name: install tools
run: |
pacman -Sy "mingw-w64-x86_64-cmake"
pacman -Sy "mingw-w64-x86_64-ninja"
echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
pacman -Sy "mingw-w64-x86_64-cmake"
pacman -Sy "mingw-w64-x86_64-ninja"
- name: Add mingw64 to path for x86_64-gnu
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
if: matrix.rust == 'nightly-x86_64-gnu'
shell: bash

Expand Down

0 comments on commit aa68d74

Please sign in to comment.