Skip to content

Commit

Permalink
ci:update ci action
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Dec 16, 2023
1 parent 3c2c5ae commit bd799a4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,24 @@ jobs:
arch: win64_mingw81
version: '6.2.0'

- name: Install prerequisites
run: |
Choco-Install -PackageName innosetup --force
Choco-Install -PackageName cmake --force
Choco-Install -PackageName mingw --force
- name: Install cmake
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install cmake --no-progress

- name: Install innosetup
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install innosetup --no-progress

- uses: msys2/setup-msys2@v2

- name: Build depend
shell: msys2 {0}
run: |
pacman --noconfirm -S make
cd depend
export PATH=/c/ProgramData/mingw64/mingw64/bin:$PATH
ls /c/ProgramData/mingw64/mingw64/bin
export PATH=/c/mingw64/bin:$PATH
./build_ms.sh
- name: Build all
Expand Down

0 comments on commit bd799a4

Please sign in to comment.