Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
vampirefrog committed Jun 22, 2024
1 parent 67af638 commit 45d62eb
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,19 @@ on:
branches: [ "master" ]

jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Install libzip
# 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:
msys2-ucrt64:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
- name: get gcc path
run: which gcc
- name: install libzip
run: pacman -S libzip
- name: make
run: make HAVE_LIBZIP=1
- name: make tests
run: make HAVE_LIBZIP=1 tests
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
install: git mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-libzip
- name: CI-Build
run: |
echo 'Running in MSYS2!'
make HAVE_LIBZIP=1 clean tests

0 comments on commit 45d62eb

Please sign in to comment.