Repository navigation
Rehearsal: gameplay timing #2
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: Compiler integration | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| compiler: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| submodules: true | |
| - name: Build toolchain image | |
| run: tools/kazarov/scripts/kazarov image | |
| - name: Test pinned compiler hooks | |
| run: | | |
| tools/kazarov/scripts/kazarov shell sh -ec ' | |
| export SATANSFIDDLE_TEST_COMPILER_300=/work/chronicletwo/tools/compilers/mw/3.0-011126/mwccps2.exe | |
| export SATANSFIDDLE_TEST_EXECUTABLE=/usr/local/bin/satansfiddle | |
| export SATANSFIDDLE_TEST_FAULT_EXECUTABLE=/usr/local/libexec/satansfiddle-tests/satansfiddle-fault-test | |
| /usr/local/libexec/satansfiddle-tests/compiler_cli-* \ | |
| --ignored --skip real_compilers_repeatability_float_policies_and_failure \ | |
| --test-threads=1 | |
| ' | |
| - name: Test object and profile verification | |
| run: | | |
| tools/kazarov/scripts/kazarov shell sh -ec ' | |
| python3 -m unittest discover -s scripts/build -p "test_*.py" | |
| ' |