Skip to content

Commit

Permalink
Merge branch 'develop' into feature/cache-hicode
Browse files Browse the repository at this point in the history
  • Loading branch information
Gericom committed Mar 30, 2024
2 parents 47de961 + 90b994f commit bd3ec0f
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/nightly.yml
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
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
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
6 changes: 4 additions & 2 deletions code/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ include $(DEVKITARM)/ds_rules
#---------------------------------------------------------------------------------
# main targets
#---------------------------------------------------------------------------------
all: checklibtwl checkbootstrap checktest
all: checklibtwl checkbootstrap

debug: all checktest

#---------------------------------------------------------------------------------
checklibtwl:
$(MAKE) -C libs/libtwl

#---------------------------------------------------------------------------------
checkbootstrap:
checkbootstrap: checklibtwl
$(MAKE) -C bootstrap

#---------------------------------------------------------------------------------
Expand Down

0 comments on commit bd3ec0f

Please sign in to comment.