Upgrade python package infrastructure and build arm wheels #108
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Regression test | |
| on: | |
| push: | |
| branches: | |
| - master | |
| 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 |