-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathcontinuous-integration-workflow.yml
More file actions
84 lines (69 loc) · 1.99 KB
/
Copy pathcontinuous-integration-workflow.yml
File metadata and controls
84 lines (69 loc) · 1.99 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: libogc2 build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
name: Build libogc2
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
container: ghcr.io/extremscorner/libogc2:latest
steps:
- name: Checkout libogc2
uses: actions/checkout@main
with:
path: libogc2
- name: Checkout libdvm
uses: actions/checkout@main
with:
repository: extremscorner/libdvm
path: libdvm
submodules: true
- name: Checkout libntfs
uses: actions/checkout@main
with:
repository: extremscorner/libntfs
path: libntfs
- name: Build libogc2
run: make install
working-directory: libogc2
- name: Build libdvm
run: catnip install gamecube wii
working-directory: libdvm
- name: Build libntfs
run: make install
working-directory: libntfs
- name: Upload artifacts
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
uses: actions/upload-artifact@main
with:
name: libogc2
path: /opt/devkitpro/libogc2
- name: Checkout gamecube-examples
uses: actions/checkout@main
with:
repository: extremscorner/gamecube-examples
path: gamecube-examples
- name: Checkout wii-examples
uses: actions/checkout@main
with:
repository: extremscorner/wii-examples
path: wii-examples
- name: Build gamecube-examples
run: make
working-directory: gamecube-examples
- name: Build wii-examples
run: make
working-directory: wii-examples
- name: Upload gamecube-examples
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
uses: actions/upload-artifact@main
with:
name: gamecube-examples
path: gamecube-examples/bin
- name: Upload wii-examples
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
uses: actions/upload-artifact@main
with:
name: wii-examples
path: wii-examples/bin