Clean up scripts. #6
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: Test examples on debug-build | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo bash scripts/install.sh | |
| - name: Configure CMake | |
| run: | | |
| cmake -S . -B cmake-build-debug -DCMAKE_BUILD_TYPE=Debug | |
| - name: Build | |
| run: | | |
| cmake --build cmake-build-debug --config Debug | |
| - name: Run tests | |
| run: | | |
| bash tests/run_tests.sh |