-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 938 Bytes
/
c-cpp.yml
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
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:
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
with:
platform: x64
- name: get gcc path
run: which gcc
# - uses: actions/checkout@v4
# - name: Set up MSYS2
# uses: msys2/setup-msys2@v2
# with:
# msystem: mingw64
# install: >-
# mingw64/mingw-w64-x86_64-toolchain
# mingw64/mingw-w64-x86_64-libzip
# - name: make
# run: make HAVE_LIBZIP=1
# - name: make tests
# run: make HAVE_LIBZIP=1 tests