Skip to content

Commit

Permalink
Fix windows build in CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
NoMore201 committed Oct 20, 2024
1 parent fb12929 commit 00475b2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
path: /opt/linux.zip

build-windows:
name: Toolchain Windows build
runs-on: windows-latest
defaults:
run:
Expand All @@ -58,7 +59,7 @@ jobs:
with:
msystem: UCRT64
update: true
install: zip mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-mpfr mingw-w64-ucrt-x86_64-gmp mingw-w64-ucrt-x86_64-mpc mingw-w64-ucrt-x86_64-texinfo flex bison
install: zip mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-mpfr mingw-w64-ucrt-x86_64-gmp mingw-w64-ucrt-x86_64-mpc mingw-w64-ucrt-x86_64-texinfo flex bison
- name: Build
run: |
mkdir build
Expand All @@ -67,7 +68,7 @@ jobs:
export CXXFLAGS="-O2"
export LDFLAGS="-static -s"
../configure --prefix /opt/gcc
make -j$(nproc)
mingw32-make -j$(nproc)
- name: Package
run: |
Expand Down

0 comments on commit 00475b2

Please sign in to comment.