-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 1013 Bytes
/
ci.yaml
File metadata and controls
43 lines (40 loc) · 1013 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
42
43
name: Build and Test
on:
push:
branches:
- main
- dev
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build
run: cmake -S . -B build && cmake --build build -j
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Install Python Dependencies
run: pip3 install pytest
- name: Build
run: cmake -S . -B build && cmake --build build -j
- name: Download dataset
run: wget https://www.nuscenes.org/data/v1.0-mini.tgz
- name: Create data directory
run: rm -rf data; mkdir data
- name: Extract dataset
run: tar -xzf v1.0-mini.tgz -C data
- name: Test
run: python3 -m pytest