-
Notifications
You must be signed in to change notification settings - Fork 4
60 lines (58 loc) · 1.52 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
name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: ghcr.io/seekyct/spm-docker:v1
strategy:
fail-fast: false
matrix:
version: [eu0]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Git config
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Prepare
run: |
cp /spmfiles/${{matrix.version}}/main.dol orig
cp /spmfiles/${{matrix.version}}/relF.rel orig
cp -R /spmfiles/4199_60831 tools
- name: Build
run: |
python3 configure.py --wine wibo
ninja
- name: Upload maps
uses: actions/upload-artifact@v3
with:
name: maps-${{matrix.version}}
path: |
out/main.map
out/relF.map
- name: Upload analysis
uses: actions/upload-artifact@v3
with:
name: analysis-${{matrix.version}}
path: |
build/labels.pickle
build/relocs.pickle
build/rel_labels.pickle
build/rel_relocs.pickle
- name: Upload asm lists
uses: actions/upload-artifact@v3
with:
name: asm-list-${{matrix.version}}
path: |
build/main.dol.asml
build/relF.rel.asml
- name: Calculate progress
run: python3 progress.py --full > build/progress.txt
- name: Upload progrses
uses: actions/upload-artifact@v3
with:
name: progress-${{matrix.version}}
path: build/progress.txt