CI: GitHub Actions build with .nro artifact; bump version to 1.0.0
Some checks failed
Build / switch (push) Failing after 21s
Some checks failed
Build / switch (push) Failing after 21s
- Workflow runs on push/PR to main and master using devkitpro/devkita64. - Uploads swr-ini-tool.nro as artifact swr-ini-tool. Makefile: TARGET_VERSION 0.1.0 -> 1.0.0. Made-with: Cursor
This commit is contained in:
33
.github/workflows/build.yml
vendored
Normal file
33
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
pull_request:
|
||||
branches: [main, master]
|
||||
|
||||
jobs:
|
||||
switch:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: devkitpro/devkita64:latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure git safe directory
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Compile (Switch .nro)
|
||||
env:
|
||||
DEVKITPRO: /opt/devkitpro
|
||||
run: make -j$(nproc)
|
||||
|
||||
- name: Upload .nro artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: swr-ini-tool
|
||||
path: swr-ini-tool.nro
|
||||
if-no-files-found: error
|
||||
2
Makefile
2
Makefile
@@ -33,7 +33,7 @@ APP_RESOURCES := romfs:/
|
||||
#---------------------------------------------------------------------------------
|
||||
# version control constants
|
||||
#---------------------------------------------------------------------------------
|
||||
TARGET_VERSION := 0.1.0
|
||||
TARGET_VERSION := 1.0.0
|
||||
APP_VERSION := $(TARGET_VERSION)
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user