Change license type from MIT to Non-Commercial #39
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: ["**"] | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build tests | |
| run: | | |
| mkdir -p build | |
| g++ -std=c++17 -Iinclude tests/phase_readiness_tests.cpp src/phase_readiness.cpp -o build/phase_readiness_tests | |
| - name: Run tests | |
| run: ./build/phase_readiness_tests | |
| - name: Build REST API tests | |
| run: | | |
| g++ -std=c++17 -Iinclude -pthread tests/rest_api_tests.cpp src/phase_readiness.cpp src/rest_api_server.cpp -o build/rest_api_tests | |
| - name: Run REST API tests | |
| run: ./build/rest_api_tests |