Bump to latest version #4
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
on: [push] | |
jobs: | |
build_rom: | |
runs-on: ubuntu-latest | |
container: igwgames/create-nes-game:v1.0.13 | |
name: Compile rom | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Move things into the spots github CI expects them in | |
run: "cp -a /root/. /github/home" | |
- name: Install dependencies | |
run: create-nes-game download-dependencies --assume-yes | |
- name: Build the game | |
run: create-nes-game build | |
- name: Start xvfb | |
run: sudo Xvfb :99 -screen 0 1280x1024x24 & | |
- name: Run unit tests | |
run: DISPLAY=:99 create-nes-game test --debug | |
- name: Clean up xvfb | |
uses: bcomnes/cleanup-xvfb@v1 | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Game Download | |
path: rom |