git repos / blockattack-game

.github/workflows/main.yml

browsing at commit = 0fba975828a1e00338f971a6dd67fb8b0f7ba21a

branches: v2.9.X

tags: v2.9.1

raw · blame · history

name: Build

on:
  push:
  pull_request:
    types: [opened, synchronize, reopened]

jobs:
  ci_job:
    runs-on: ubuntu-latest
    name: Test that the game can be compiled
    steps:
      - name: Check Out Repo
        uses: actions/checkout@v2
      - name: Check lint
        run: bash source/misc/lint/runLint.sh
      - name: Test Ubuntu
        run: docker build -f source/misc/docker/Dockerfile.Ubuntu20.04build . -t blockattack_test
      - name: Test Windows MXE
        run: docker build -f source/misc/docker/Dockerfile.WindoesBuild . -t blockattack_test