Skip to content

Commit

Permalink
Add CI build for N64 (#36)
Browse files Browse the repository at this point in the history
Uses the new dev container to build ROM when source is changed.
  • Loading branch information
networkfusion authored Aug 26, 2024
1 parent e0dd0e5 commit 8c56fab
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build-n64-rom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build N64 ROM

on:
push:
paths:
- '.github/workflows/build-n64-rom.yml'
- '.devcontainer/N64/**'
- '240psuite/N64/**'
pull_request:
paths:
- '.github/workflows/build-n64-rom.yml'
- '.devcontainer/N64/**'
- '240psuite/N64/**'

jobs:
build-rom:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build N64 ROM using devcontainer
uses: devcontainers/[email protected]
with:
configFile: ./.devcontainer/N64/devcontainer.json
push: never
runCmd: |
make all
# env:
# FLAGS: -DVERSION_NUMBER="N64 X.XX.X"

# Comment in, if/when needed.
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: 240pTestSuite-N64
# path: |
# ./240psuite/N64/output/240pSuite.z64
# ./240psuite/N64/build/240pSuite.elf

0 comments on commit 8c56fab

Please sign in to comment.