-
Notifications
You must be signed in to change notification settings - Fork 172
88 lines (81 loc) · 2.54 KB
/
ci.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
88
name: CI
on:
pull_request:
branches:
- 'master'
paths-ignore:
- '.gitattributes'
- '.github/workflows/periodic-*'
- 'ABOUT-NLS'
- 'contrib/**'
- 'dist/**'
- 'doc/**'
- 'email/**'
- 'GIT-Access.txt'
- 'help/**'
- 'NEWS.md'
- 'README.md'
- 'SECURITY.md'
- 'TODO'
push:
branches:
- 'master'
- 'release/**'
paths-ignore:
- '.gitattributes'
- '.github/workflows/periodic-*'
- 'ABOUT-NLS'
- 'contrib/**'
- 'dist/**'
- 'doc/**'
- 'email/**'
- 'GIT-Access.txt'
- 'help/**'
- 'NEWS.md'
- 'README.md'
- 'SECURITY.md'
- 'TODO'
schedule:
- cron: '0 12 1 * *'
jobs:
linux:
name: Linux
runs-on: ubuntu-20.04
strategy:
fail-fast: true
matrix:
compiler:
- clang-10
- gcc-10
env:
CC: ${{ matrix.compiler }}
steps:
- name: Clone source code repository
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install dependencies
working-directory: /tmp
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
${CC} \
build-essential \
gettext \
git \
libargon2-0-dev \
libcrack2-dev \
libgcrypt20-dev \
libgettextpo-dev \
libidn11-dev \
libldap2-dev \
libpasswdqc-dev \
libpcre3-dev \
libperl-dev \
libqrencode-dev \
libsodium-dev \
libssl-dev \
lld-10 \
# EOF
- name: Run CI build script
run: scripts/ci-build.sh