summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-11-21 03:35:24 +0100
committerGravatar Nikias Bassen2020-11-21 03:35:24 +0100
commit74425fec9103b5e79a352a1f4ca5a762758da032 (patch)
tree3d84bc62556481c24b5271b38d0076b205b7de59
parent66fef8c7c480888a0650342138ffce31ffcb882a (diff)
downloadlibplist-74425fec9103b5e79a352a1f4ca5a762758da032.tar.gz
libplist-74425fec9103b5e79a352a1f4ca5a762758da032.tar.bz2
[github-actions] Update msys2/windows build action
-rw-r--r--.github/workflows/build.yml31
1 files changed, 21 insertions, 10 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7011681..2abc38b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,7 +8,7 @@ jobs:
steps:
- name: install dependencies
run: sudo apt-get install cython
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: autogen
run: ./autogen.sh
- name: make
@@ -27,7 +27,7 @@ jobs:
fi
pip install cython
shell: bash
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- name: autogen
run: ./autogen.sh
- name: make
@@ -36,17 +36,29 @@ jobs:
run: make check
build-windows:
runs-on: windows-latest
+ defaults:
+ run:
+ shell: msys2 {0}
steps:
- - uses: numworks/setup-msys2@v1
- - name: install dependencies
- run: msys2do pacman -S --noconfirm mingw-w64-x86_64-gcc make libtool autoconf automake-wrapper
- - uses: actions/checkout@v1
+ - uses: msys2/setup-msys2@v2
+ with:
+ release: false
+ update: false
+ install: >-
+ base-devel
+ git
+ mingw-w64-x86_64-gcc
+ make
+ libtool
+ autoconf
+ automake-wrapper
+ - uses: actions/checkout@v2
- name: autogen
- run: msys2do ./autogen.sh --without-cython
+ run: ./autogen.sh CC=gcc CXX=g++ --without-cython
- name: make
- run: msys2do make
+ run: make
- name: make check
- run: msys2do make check
+ run: make check
- name: print test logs
run: |
for I in test/*.trs; do
@@ -59,4 +71,3 @@ jobs:
fi
done
shell: bash
- if: always()