| 1 | name: Build |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | pull_request: |
| 6 | types: [opened, synchronize, reopened] |
| 7 | |
| 8 | jobs: |
| 9 | ci_job: |
| 10 | runs-on: ubuntu-latest |
| 11 | name: Test that the game can be compiled |
| 12 | steps: |
| 13 | - name: Check Out Repo |
| 14 | uses: actions/checkout@v2 |
| 15 | - name: Check lint |
| 16 | run: bash source/misc/lint/runLint.sh |
| 17 | - name: Test Ubuntu |
| 18 | run: docker build -f source/misc/docker/Dockerfile.Ubuntu22.04build . -t blockattack_test |
| 19 | - name: Test Windows MXE |
| 20 | run: docker build -f source/misc/docker/Dockerfile.WindoesBuild . -t blockattack_test |