templates: python environment variable PYTHON_PREFIX #550
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: 'CI' | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: sudo apt-get update && sudo apt-get install -y cmake ninja-build nlohmann-json3-dev libfmt-dev libboost-filesystem-dev libelf-dev bash-builtins | |
| name: Install dependencies | |
| - name: Build | |
| run: | | |
| mkdir -pv build | |
| cmake -S . -B build -GNinja | |
| ninja -C build -v | |
| - name: Test | |
| run: | | |
| sudo apt-get install -y meson | |
| sed -i 's|python2|python3|g' templates/16-python.sh proc/00-python-defines.sh | |
| sudo mkdir -p /etc/autobuild | |
| echo -ne "ABMPM=dpkg\nMTER=\"CI <[email protected]>\"\n" | sudo tee /etc/autobuild/ab4cfg.sh | |
| cd build && sudo ctest -V |