Add ability to load ROM from command line #43
Workflow file for this run
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: Go | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.18 | |
- name: Install SDL | |
run: sudo apt update && sudo apt install libsdl2{,-image,-mixer,-ttf,-gfx}-dev | |
- name: Install SDL Go packages | |
run: go get -v github.com/veandco/go-sdl2/{sdl,img,mix,ttf} | |
- name: Build | |
run: go build -v . | |
- name: Test | |
run: go test -v chip8/ |