Repository navigation
60 lines (57 loc) · 1.6 KB
/
Copy pathmain.yml
File metadata and controls
60 lines (57 loc) · 1.6 KB
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
58
59
60
name: CI
on:
push:
pull_request:
release:
types:
- created
workflow_dispatch:
jobs:
ubuntu_test:
strategy:
matrix:
runs-on: [ubuntu-20.04, ubuntu-22.04]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- name: apt
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake python3-pip python3-setuptools python3-wheel
- name: pip
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --user git+https://github.com/johnwason/drekar-launch-process.git
python3 -m pip install --user git+https://github.com/johnwason/drekar-launch.git
- name: configure
run: |
mkdir build
cd build
cmake -DBUILD_TESTING=ON ..
- name: build
run: |
cd build
cmake --build .
- name: test
run: |
python3 -m drekar_launch --config=test/drekar-launch/drekar-launch.yaml
windows_test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: pip
run: |
python -m pip install --user git+https://github.com/johnwason/drekar-launch-process.git
python -m pip install --user git+https://github.com/johnwason/drekar-launch.git
- name: configure
run: |
mkdir build
cd build
cmake -G Ninja -DBUILD_TESTING=ON ..
- name: build
run: |
cd build
cmake --build .
- name: test
run: |
python -m drekar_launch --config=test/drekar-launch/drekar-launch.yaml