chore: synchronize all version strings to 0.8.1 and harden CI #240
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: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build-and-test: | |
| name: Build & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| cmake \ | |
| ninja-build \ | |
| libsqlite3-dev \ | |
| python3-dev \ | |
| libssl-dev \ | |
| libffi-dev \ | |
| libcurl4-openssl-dev \ | |
| pkg-config | |
| pip3 install pybind11 | |
| - name: Build | |
| run: | | |
| cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja | |
| ninja -C build naab-lang libnaab -j$(nproc) | |
| - name: Run tests | |
| run: bash run-all-tests.sh |