Try msys2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d199688..606d68e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -238,7 +238,7 @@ jobs:
--policy=https://github.com/libffi/rlgl-policy.git $(find . -name libffi.log)
shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
- build-mingw32:
+ build-msys2:
name: Build & test with MingW32
runs-on: windows-latest
@@ -247,27 +247,29 @@ jobs:
matrix:
platform: [windows-latest]
+ defaults:
+ run:
+ shell: msys2 {0}
+
steps:
- run: git config --global core.autocrlf input
- uses: actions/checkout@v2
- - name: Set up Cygwin
- uses: egor-tensin/setup-cygwin@v3
+ - uses: msys2/setup-msys2@v2
with:
- platform: x64
- packages: wget make dejagnu automake autoconf libtool texinfo dos2unix unzip
-
- - name: add mingw32 to path
- shell: bash
- run: |
- echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
-
- - run: |
- export PATH=/cygdrive/c/msys64/mingw32/bin:$PATH
- ls -l /cygdrive/c/msys64/mingw32/bin
- i686-w64-mingw32-gcc --version
- shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
+ msystem: MINGW32
+ update: true
+ install: >-
+ base-devel
+ autoconf-wrapper
+ autoconf
+ automake
+ libtool
+ make
+ dejagnu
+ mingw-w64-i686-gcc
+ mingw-w64-i686-gcc-libs
- run: |
set -x
@@ -285,7 +287,7 @@ jobs:
-l CC=i686-w64-mingw32-gcc \
-l host=x86_64-pc-cygwin \
--policy=https://github.com/libffi/rlgl-policy.git $(find . -name libffi.log)
- shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}'
+
build-macos:
name: Build & test on macOS