i'm too tired to write a commit message, i'll modify later #19
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: CMake Build and Test | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Configure CMake | |
| run: cmake -B ${{github.workspace}}/build_new -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| run: cmake --build ${{github.workspace}}/build_new --config Release | |
| - name: Run Tests | |
| run: python3 tools/pome_test_runner.py | |
| - name: Run Benchmarks | |
| run: python3 tools/pome_bench.py | |
| - name: Pome vs Python Benchmark | |
| run: python3 tools/bench_vs_python.py |