Merge pull request #11 from matthewbloch/feature/mouse-integration #3
This file contains 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: Check the builds aren't broken | |
on: push | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
wasm: | |
name: "Build wasm" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: docker run -v $(pwd):/src emscripten/emsdk sh -c "apt update && apt -yy install xxd && make -j8 DEBUG=1 wasm" | |
native: | |
name: "Build native" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: docker run -v $(pwd):/src debian sh -c "apt update && apt -yy install gcc xxd make libsdl2-dev libz-dev libglu1-mesa-dev && make -C /src -j8 DEBUG=1 native" |