-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/cache-hicode
- Loading branch information
Showing
3 changed files
with
78 additions
and
2 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,36 @@ | ||
name: Build nightly | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'README.md' | ||
- 'docs' | ||
pull_request: | ||
paths-ignore: | ||
- 'README.md' | ||
- 'docs' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: devkitpro/devkitarm | ||
name: Build with Docker using devkitARM | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Make application | ||
run: | | ||
make -C code | ||
- name: Prepare for build publishing | ||
run: | | ||
mkdir -p out/_gba/ | ||
cp -f code/bootstrap/GBARunner3.nds out/ | ||
cp -r configs out/_gba/ | ||
- name: Publish build to GH Actions | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: out | ||
name: GBARunner3 |
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,38 @@ | ||
name: Build release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: devkitpro/devkitarm | ||
name: Build with Docker using devkitARM | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Make application | ||
run: | | ||
make -C code | ||
- name: Prepare for build publishing | ||
run: | | ||
mkdir -p out/_gba/ | ||
cp -f code/bootstrap/GBARunner3.nds out/ | ||
cp -r configs out/_gba/ | ||
- name: Publish build to GH Actions | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: out | ||
name: GBARunner3 | ||
- name: Package for release | ||
run: | | ||
cd out && zip -r ../GBARunner3.zip * | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
GBARunner3.zip |
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