-
Notifications
You must be signed in to change notification settings - Fork 12
57 lines (56 loc) · 1.44 KB
/
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
name: build
on: [push, pull_request]
jobs:
lgmp:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
cc: [gcc, clang]
build_type: [Release, Debug]
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Configure LGMP
env:
CC: /usr/bin/${{ matrix.cc }}
run: |
mkdir lgmp/build
cd lgmp/build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
- name: Build LGMP
run: |
cd lgmp/build
make -j$(nproc)
relacy-test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
compiler:
- {cc: gcc, cxx: g++}
- {cc: clang, cxx: clang++}
build_type: [Release, Debug]
exclude:
# This test somehow fails with "longjmp causes uninitialized stack frame"
- compiler: {cc: gcc, cxx: g++}
build_type: Release
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- name: Configure relacy-test
env:
CC: /usr/bin/${{ matrix.compiler.cc }}
CXX: /usr/bin/${{ matrix.compiler.cxx }}
run: |
mkdir relacy-test/build
cd relacy-test/build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ..
- name: Build relacy-test
run: |
cd relacy-test/build
make -j$(nproc)
- name: Run relacy-test
run: relacy-test/build/relacy-test