Add compile commands to github ci #8
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: Build nmbs | |
| on: | |
| push: | |
| paths: | |
| - 'targets/**' | |
| - 'cmake/**' | |
| - '.github/workflows/ci-nmbs.yml' | |
| jobs: | |
| build-nmbs: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| release: [ trixie, testing, sid ] | |
| container: | |
| image: turnertech/nmbs-builder:${{ matrix.release }} | |
| credentials: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v7 | |
| - run: cmake --preset debug | |
| - run: cmake --build --preset debug | |
| - run: cmake --preset release | |
| - run: cmake --build --preset release | |
| - run: cpack -B build |