-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (34 loc) · 831 Bytes
/
test.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
name: Run tests on commit
on:
push:
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Prepare test data
run: |
cd data
make fastestspeedrun
- name: Install GTest and Boost-Graph
run: |
sudo apt-get update && sudo apt-get install -y libgtest-dev libboost-graph-dev
- name: Download Lemon
run: ./dependencies.sh
- name: Configure
run: |
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: |
cmake --build build --config Debug
- name: Test
run: |
cd build
ctest -C Debug --output-on-failure --verbose --exclude-regex LargeOnes