-
Notifications
You must be signed in to change notification settings - Fork 31
53 lines (40 loc) · 1.05 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
name: C/C++ CI
on:
push:
branches:
- master
- releases/*
pull_request:
branches:
- master
jobs:
ubuntu:
name: Ubuntu native build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install -y --no-install-recommends autoconf automake >
libtool g++ gettext make parallel libedit-dev libpcre2-dev >
libssl-dev zlib1g-dev
- name: Run tests
run: ./ci/build.sh
- name: Check includes
run: ./ci/check_includes.sh
msys2:
name: MSYS2 native build
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
- name: Install dependencies
run: pacman -S --noconfirm autoconf automake libtool gcc gettext make >
parallel libedit-devel pcre2-devel openssl-devel zlib-devel >
libiconv-devel
- name: Run tests
run: ./ci/build.sh
- name: Check includes
run: ./ci/check_includes.sh