diff options
author | Anthony Green <green@moxielogic.com> | 2022-09-15 06:28:23 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2022-09-15 06:28:23 -0400 |
commit | 5d02c0cca3750c7aac61971b9e4cb94940793303 (patch) | |
tree | 00b6a1a9a63e347ba0133f51e7d2184aebe6d016 /.github | |
parent | 64a78fa760c581f9c70199abb34aef1e0d086bd2 (diff) | |
download | libffi-5d02c0cca3750c7aac61971b9e4cb94940793303.tar.gz |
Try msys2
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 36 |
1 files changed, 19 insertions, 17 deletions
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 |