-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
semaphore.yml
27 lines (27 loc) · 959 Bytes
/
semaphore.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
version: v1.0
name: Initial Pipeline
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
blocks:
- name: Run test
task:
jobs:
- name: test
commands:
- docker/run.sh -it paparazziuav/pprz-ci bash test.sh
prologue:
commands:
- docker pull paparazziuav/pprz-ci
- echo "git config --global --add safe.directory '*'" > test.sh
- echo "ln -s /usr/bin/python3 /usr/bin/python" >> test.sh
- echo "make test" >> test.sh
- echo "git config --global --add safe.directory '*'" > test_all.sh
- echo "ln -s /usr/bin/python3 /usr/bin/python" >> test_all.sh
- echo "make test_all_confs" >> test_all.sh
- git config --global user.email "paparazzi-devel@nongnu.org"
- git config --global user.name "Paparazzi UAV"
- checkout
- git submodule update --init --force --recursive
dependencies: []