-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses the new dev container to build ROM when source is changed.
- Loading branch information
1 parent
e0dd0e5
commit 8c56fab
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
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
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 |