-
-
Notifications
You must be signed in to change notification settings - Fork 154
87 lines (67 loc) · 1.63 KB
/
build-qa-out-of-tree-build.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Build QA - Out-of-tree build
on:
workflow_dispatch:
pull_request:
branches:
- master
paths-ignore:
- '.github/**'
- '.gitignore'
- 'ChangeLog'
- 'COPYING'
- 'configure.scan'
- 'packaging/**'
- 'dev-tools/**'
- '!dev-tools/libexec/get-release-*.sh'
- 'doc/**'
- 'etc/**'
- 'install/**'
- 'lib/*/IMPORT.defs'
- 'lib/*/LICENSE'
- 'README.md'
push:
branches:
- master
tags:
- '*'
paths-ignore:
- '.github/**'
- '.gitignore'
- 'ChangeLog'
- 'COPYING'
- 'configure.scan'
- 'packaging/**'
- 'dev-tools/**'
- '!dev-tools/libexec/get-release-*.sh'
- 'doc/**'
- 'etc/**'
- 'install/**'
- 'lib/*/IMPORT.defs'
- 'lib/*/LICENSE'
- 'README.md'
jobs:
build-qa-out-of-tree-build:
name: Out-of-tree build
runs-on: ubuntu-20.04
container: ciready/ubuntu:20.04-ci-c
###
### Steps to run
###
steps:
### Fetch the code
#
- uses: actions/checkout@v2
with:
fetch-depth: 0
# Work around the fix for CVE-2022-24765
- run: git config --global --add safe.directory $GITHUB_WORKSPACE || true
### Build
#
- run: ./dev-tools/install-dev-software.sh
- run: ./bootstrap.sh
- run: mkdir -p tmp/build1
- run: cd tmp/build1 && ../../configure --enable-option-checking=fatal --enable-everything
- run: cd tmp/build1 && make -j4
- run: cd tmp/build1 && make -j4 check
- run: cat tmp/build1/tests/*/test-suite.log
if: failure()