-
-
Notifications
You must be signed in to change notification settings - Fork 17
119 lines (106 loc) · 2.81 KB
/
build_n_test.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
name: Spin2cpp CI
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_call:
jobs:
build_win32:
runs-on: ubuntu-24.04
steps:
- name: Install MinGW
run: "sudo apt-get install gcc-mingw-w64-i686"
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make zip CROSS=win32
- name: Rename ZIP
run: |
mv flexptools.zip "flexptools-win32-`git describe --tags --always`.zip"
- uses: actions/upload-artifact@v4
with:
name: release_zips_win32
path: "./*.zip"
build_linux_amd64:
runs-on: ubuntu-24.04
steps:
- name: Install musl-gcc
run: "sudo apt-get install musl-tools"
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make zip CROSS=linux-musl
- name: Rename ZIP
run: |
mv flexptools.zip "flexptools-linux-amd64-`git describe --tags --always`.zip"
- uses: actions/upload-artifact@v4
with:
name: release_zips_linux_amd64
path: "./*.zip"
test_offline:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: make
run: make
- name: test
run: make test_offline
test_spinsim:
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: make
run: make
- name: test
run: make test_spinsim
test_3rdparty:
runs-on: ubuntu-24.04
steps:
- name: Grab utilities
run: "sudo apt-get install rake"
- name: Fetch spin2cpp
uses: actions/checkout@v4
with:
path: spin2cpp
- name: Build flexspin
run: make -j "OPT=-O2 -march=native"
working-directory: spin2cpp
- name: Fetch Spin Hexagon
uses: actions/checkout@v4
with:
repository: IRQsome/Spin-Hexagon
path: hexagon_p1
sparse-checkout-cone-mode: false
sparse-checkout: | # Avoid grabbing large audio files
/*
!*.RAW
!*.VU
!*.gif
!*.png
- name: Compile Spin Hexagon
run: rake
working-directory: hexagon_p1
env:
FASTSPIN_NAME: ${{github.workspace}}/spin2cpp/build/flexspin
- name: Fetch MegaYume
uses: actions/checkout@v4
with:
repository: IRQsome/MegaYume
path: megayume
- name: Compile MegaYume
run: ./build_comptest.sh
working-directory: megayume
- name: Fetch NeoYume
uses: actions/checkout@v4
with:
repository: IRQsome/NeoYume
path: neoyume
- name: Compile NeoYume
run: ./build_comptest.sh
working-directory: neoyume