-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (40 loc) · 1.03 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build flashcard-bootstrap
on:
push:
branches: ["master"]
paths-ignore:
- 'README.md'
pull_request:
branches: ["master"]
paths-ignore:
- 'README.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container: devkitpro/devkitarm
name: Build with Docker using devkitARM
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: build dsbize patcher
run: |
sudo apt update
sudo apt install -y python3 gcc
gcc -o resource/dsbize/dsbize resource/dsbize/dsbize.c
chmod +x resource/dsbize/dsbize
- name: Make flashcard-bootstrap
run: |
make -C libnds32
make dist
- name: Prepare for build publishing
run: |
mkdir -p ~/artifacts
cp bootstrap.zip ~/artifacts
- name: Publish build to GH Actions
uses: actions/upload-artifact@v3
with:
path: ~/artifacts/*
name: build