try to specify CC=x86_64-w64-mingw32-gcc #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install xmllint | |
run: sudo apt-get install -y libzip-dev | |
- uses: actions/checkout@v4 | |
- name: make | |
run: make HAVE_LIBZIP=1 | |
- name: make tests | |
run: make HAVE_LIBZIP=1 tests | |
build-win64: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
update: true | |
install: mingw-w64-x86_64-libzip | |
- name: make | |
run: make CC=x86_64-w64-mingw32-gcc HAVE_LIBZIP=1 | |
- name: make tests | |
run: make CC=x86_64-w64-mingw32-gcc HAVE_LIBZIP=1 tests |