-
Notifications
You must be signed in to change notification settings - Fork 160
41 lines (36 loc) · 812 Bytes
/
main.yaml
File metadata and controls
41 lines (36 loc) · 812 Bytes
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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Build:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Setup Python
run: |
pip install -U pip wheel
pip install cpplint
- name: Setup@Ubuntu
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get install -y doxygen wget graphviz unzip
- name: Lint
if: startsWith(matrix.os, 'ubuntu')
run: |
pip install -r doc_requirements.txt
./tests/scripts/task_lint.sh
- name: Test
run: |
./tests/scripts/task_build.sh
./bin/mock