-
Notifications
You must be signed in to change notification settings - Fork 19
64 lines (61 loc) · 1.42 KB
/
ubuntu.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
54
55
56
57
58
59
60
61
62
63
64
name: Ubuntu
on:
push:
branches:
- main
- 'release/**'
paths-ignore:
- '**.adoc'
- '**.md'
- '**.nix'
- '*.sh'
- '.*'
- 'Brewfile'
- '_*'
- 'doc/**'
- 'flake.lock'
- 'nix/**'
- '.github/workflows/*.yml'
- '!.github/workflows/ubuntu.yml'
- 'ci/before_install/*'
- '!ci/before_install/linux.sh'
- 'ci/checkpatch*'
pull_request:
paths-ignore:
- '**.adoc'
- '**.md'
- '**.nix'
- '*.sh'
- '.*'
- 'Brewfile'
- '_*'
- 'doc/**'
- 'flake.lock'
- 'nix/**'
- '.github/workflows/*.yml'
- '!.github/workflows/ubuntu.yml'
- 'ci/before_install/*'
- '!ci/before_install/linux.sh'
- 'ci/checkpatch*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
retrace-test: [v1, v2, v2wrapper]
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Set up environment
run: |
echo CMOCKA_INSTALL="${HOME}/builds/cmocka-install" >> "${GITHUB_ENV}"
- name: Install more prerequisites
run: |
./ci/before_install.sh
./ci/install.sh cmocka libnereon
- name: Build
run: ./ci/main.sh ${{ matrix.retrace-test }}