This commit is contained in:
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
@@ -2,23 +2,31 @@ name: Build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: devkitpro/devkitarm:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Install dependencies
|
||||||
uses: actions/checkout@v4
|
run: apt-get update && apt-get install -y nodejs
|
||||||
|
|
||||||
- name: Build payload
|
- name: Checkout latest code
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
clean: true
|
||||||
|
|
||||||
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
docker run --rm -v "$PWD:/work" -w /work \
|
export DEVKITPRO=/opt/devkitpro
|
||||||
-e DEVKITARM=/opt/devkitpro/devkitARM \
|
export DEVKITARM=/opt/devkitpro/devkitARM
|
||||||
devkitpro/devkitarm:20251231 make
|
make -j4
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: OmniNX-Installer
|
name: OmniNX-Installer
|
||||||
path: output/OmniNX-Installer.bin
|
path: output/OmniNX-Installer.bin
|
||||||
Reference in New Issue
Block a user