-
Notifications
You must be signed in to change notification settings - Fork 11
91 lines (75 loc) · 2.03 KB
/
build.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
80
81
82
83
84
85
86
87
88
89
90
91
name: Build
on: [push]
jobs:
Wii:
runs-on: ubuntu-20.04
timeout-minutes: 10
container:
image: docker://devkitpro/devkitppc
options: --cpus 2
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install BrainSlug
run: |
git clone https://github.com/Chadderz121/brainslug-wii
cd brainslug-wii
make install
cd ..
- name: Compile (debug)
run: |
make clean
make wii -j2 DEBUG=1
- name: Upload binaries (debug)
uses: actions/upload-artifact@v2
with:
name: RB3Enhanced-Wii-Debug
path: out/RB3Enhanced.mod
- name: Compile (no-debug)
run: |
make clean
make wii -j2
- name: Upload binaries (no-debug)
uses: actions/upload-artifact@v2
with:
name: RB3Enhanced-Wii-NoDebug
path: out/RB3Enhanced.mod
Xbox:
if: github.repository == 'RBEnhanced/RB3Enhanced'
runs-on: windows-2019
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Download tools
env:
BUILD_TOOLS: ${{ secrets.BUILD_TOOLS_FILE }}
run: |
Invoke-WebRequest -OutFile tools.zip $Env:BUILD_TOOLS
7z x tools.zip -otools
- name: Compile (debug)
env:
XEDK: ${{ github.workspace }}/tools
run: |
make clean
make xbox -j2 DEBUG=1
- name: Upload binaries (debug)
uses: actions/upload-artifact@v2
with:
name: RB3Enhanced-Xbox-Debug
path: out/RB3Enhanced.dll
- name: Compile (no-debug)
env:
XEDK: ${{ github.workspace }}/tools
run: |
make clean
make xbox -j2
- name: Upload binaries (no-debug)
uses: actions/upload-artifact@v2
with:
name: RB3Enhanced-Xbox-NoDebug
path: out/RB3Enhanced.dll