Merge pull request #9 from sarah-walker-pcem/master #2
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 -u $(id -u):$(id -g) emscripten/emsdk 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 make libsdl2-dev libz-dev && make -C /src -j8 DEBUG=1 native" |