Skip to content

Commit

Permalink
we
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxLastBreath committed Oct 23, 2023
2 parents a444e11 + cc7650c commit d48a131
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build

on: [workflow_dispatch, push]

jobs:
build:
runs-on: ubuntu-latest
container: pixelkiri/devkitpro-alpine-switch:latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Build
run: |
make -j2
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: ./deploy/*
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.vscode/*
.vs/*
build/*
out/*
deploy/*
Expand All @@ -8,3 +9,7 @@ deploy/*
*.npdm
*.map
*.lst
.vs/slnx.sqlite
.vs/TOTK-DFPS/v17/.wsuo
.vs/TOTK-DFPS/v17/Browse.VC.db
.vs/VSWorkspaceState.json
3 changes: 0 additions & 3 deletions .vs/ProjectSettings.json

This file was deleted.

2 changes: 1 addition & 1 deletion misc/scripts/post-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ OUT_NPDM=${OUT}/main.npdm
rm -rf ${OUT}

# Create out directory.
mkdir ${OUT}
mkdir -p ${OUT}

# Copy build into out
mv ${NAME}.nso ${OUT_NSO}
Expand Down

0 comments on commit d48a131

Please sign in to comment.