fix: add msys2 env

This commit is contained in:
TaurusXin 2024-02-07 15:13:18 +08:00
parent f2cbb76ac0
commit e99f111472
Signed by: taurusxin
GPG Key ID: C334DCA04AC2D2CC
1 changed files with 6 additions and 5 deletions

View File

@ -10,13 +10,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install dependencies
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm mingw-w64-ucrt-x86_64-toolchain
echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
install: git mingw-w64-ucrt-x86_64-toolchain
- name: Build
run: mingw32-make win32