-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (35 loc) · 931 Bytes
/
test-ubuntu.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: test_ubuntu
on:
push:
branches:
- '**'
paths:
- 'otimapp/**'
- 'tests/**'
- 'app.cpp'
- '.github/workflows/test-ubuntu.yml'
jobs:
test-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: false
- uses: actions/checkout@v2
with:
repository: google/googletest
path: third_party/googletest
- uses: actions/checkout@v2
with:
repository: Kei18/grid-pathfinding
path: third_party/grid-pathfinding
- name: build
run: cmake -B build && make -C build
- name: test
working-directory: build
run: ./test
- name: run-app
working-directory: build
run: |
./app -i ../sample-instance.txt -s PP -o ./plan.txt -v
./exec -i ../sample-instance.txt -p ./plan.txt -o ./exec.txt -v -u 0.5