Implement MBC3 #83
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DISPLAY: ':99.0' | |
steps: | |
- name: Install ebiten build dependencies | |
run: | | |
sudo apt install gcc libc6-dev libgl1-mesa-dev libxcursor-dev \ | |
libxi-dev libxinerama-dev libxrandr-dev \ | |
libxxf86vm-dev libasound2-dev pkg-config | |
- name: Run Xvfb for ebitin | |
run: | | |
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23' | |
- name: Build | |
run: make build | |
- name: Unit tests | |
run: make test | |
- name: Blargg cpu_instrs tests | |
run: make cpu_instrs |