-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (45 loc) · 1.37 KB
/
regression.yml
File metadata and controls
56 lines (45 loc) · 1.37 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
name: Regression test
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
build-and-test:
name: Test decoding quantities can be generated
runs-on: ubuntu-24.04
env:
CXX: g++-13
steps:
- name: checkout repo & submodules
uses: actions/checkout@v5
with:
submodules: true
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.13
- name: install python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
- name: install python bindings
run: |
python -m pip install .
- name: make build directory
run: mkdir build_dir
- name: compile prepare decoding
run: |
cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build . --parallel 4 --target prepare_decoding_exe
working-directory: build_dir
- name: generate & check decoding quantities (executable)
run: |
bash test_prepare.sh ../../build_dir/exe/prepare_decoding_exe
working-directory: test/regression
- name: generate & check decoding quantities (python)
run: |
bash test_prepare_python.sh
working-directory: test/regression