Skip to content

Commit 34b9bc1

Browse files
Add GitHub Actions
1 parent 5b728c2 commit 34b9bc1

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/build.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
release:
8+
types: [ published ]
9+
workflow_dispatch:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
container: skylyrac/blocksds:slim-latest
15+
name: Build with Docker using BlocksDS
16+
steps:
17+
- name: Checkout repo
18+
uses: actions/checkout@v4
19+
with:
20+
submodules: recursive
21+
- name: Install missing dependencies
22+
run: wf-pacman -Sy --noconfirm wf-tools
23+
- name: Make application
24+
run: |
25+
chmod +x build.sh
26+
./build.sh
27+
- name: Publish build to GH Actions
28+
uses: actions/upload-artifact@v4
29+
with:
30+
path: akmenu2_fat.nds
31+
- name: Release
32+
uses: softprops/action-gh-release@v2
33+
if: startsWith(github.ref, 'refs/tags/')
34+
with:
35+
files: |
36+
akmenu2_fat.nds

0 commit comments

Comments
 (0)