asserts never hurt anyone #152
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: Compile | |
| on: [push] | |
| jobs: | |
| run_tests: | |
| runs-on: self-hosted | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.7 | |
| - name: Setup | |
| run: | | |
| git submodule update --init --recursive | |
| python -m pip install --upgrade pip | |
| shell: bash | |
| - name: Info | |
| run: | | |
| chmod +x build.sh | |
| ./build.sh info | |
| shell: bash | |
| - name: Compile | |
| run: | | |
| git submodule update --init | |
| chmod +x build.sh | |
| ./build.sh exe | |
| shell: bash | |
| - name: Run tests | |
| run: | | |
| cd tests && ./run.sh |