forked from extremscorner/libogc2
-
-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (64 loc) · 1.76 KB
/
continuous-integration-workflow.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
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
name: libogc2 build
on: [push, pull_request]
jobs:
build:
name: Build libogc2
runs-on: ubuntu-latest
container: devkitpro/devkitppc:latest
steps:
- name: Checkout libogc2
uses: actions/checkout@main
with:
path: libogc2
- name: Checkout libfat
uses: actions/checkout@main
with:
repository: extremscorner/libfat
path: libfat
- name: Checkout libntfs
uses: actions/checkout@main
with:
repository: extremscorner/libntfs
path: libntfs
- name: Build libogc2
run: |
mkdir -p build
make -C build -f ../Makefile install
working-directory: libogc2
- name: Build libfat
run: make ogc-install
working-directory: libfat
- name: Build libntfs
run: make install
working-directory: libntfs
- name: Upload artifacts
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
uses: actions/upload-artifact@main
with:
name: gamecube-examples
path: gamecube-examples/bin
- name: Upload wii-examples
uses: actions/upload-artifact@main
with:
name: wii-examples
path: wii-examples/bin