-
Notifications
You must be signed in to change notification settings - Fork 107
42 lines (36 loc) · 869 Bytes
/
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
name: Continuous integration
on:
push:
branches:
- master
pull_request:
schedule:
- cron: "0 0 1,15 * *"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
arch: [amd64, i386]
compiler: [clang, gcc]
flavor:
- autotools
- cmake
- shared-cmake
- fallback-u128
- cmake-from-dist
env:
ARCH: ${{ matrix.arch }}
COMPILER: ${{ matrix.compiler }}
FLAVOR: ${{ matrix.flavor }}
OS_NAME: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Fetch everything (for automatic version detection)
run: git fetch --prune --unshallow
- name: Install dependencies
run: scripts/install
- name: Test harness
run: scripts/test