forked from ClassiCube/ClassiCube
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (36 loc) · 1.08 KB
/
build_gba.yml
File metadata and controls
45 lines (36 loc) · 1.08 KB
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
43
44
45
name: Build latest (GBA)
# trigger via either push to selected branches or on manual run
on:
push:
branches:
- main
- master
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-gba
cancel-in-progress: true
jobs:
build:
timeout-minutes: 10
runs-on: ubuntu-latest
container:
image: devkitpro/devkitarm:latest
steps:
- uses: actions/checkout@v4
- name: Compile GBA build
run: |
make gba
- uses: ./.github/actions/upload_build
with:
SOURCE_FILE: 'ClassiCube-gba.gba'
DEST_NAME: 'ClassiCube-gba.gba'
- uses: ./.github/actions/upload_build
with:
SOURCE_FILE: 'ClassiCube-gba.elf'
DEST_NAME: 'ClassiCube-gba.elf'
# NOTE: Not uploaded to website downloads at present
- uses: ./.github/actions/notify_failure
if: failure()
with:
NOTIFY_MESSAGE: 'Failed to produce GBA build'
WEBHOOK_URL: '${{ secrets.WEBHOOK_URL }}'