Skip to content

Commit 27f8a49

Browse files
committed
Add 3rd-party project integration test job
1 parent aded830 commit 27f8a49

File tree

1 file changed

+57
-4
lines changed

1 file changed

+57
-4
lines changed

.github/workflows/build_n_test.yml

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
build_win32:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: Install MinGW
1717
run: "sudo apt-get install gcc-mingw-w64-i686"
@@ -26,8 +26,9 @@ jobs:
2626
with:
2727
name: release_zips_win32
2828
path: "./*.zip"
29+
2930
build_linux_amd64:
30-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-24.04
3132
steps:
3233
- name: Install musl-gcc
3334
run: "sudo apt-get install musl-tools"
@@ -42,16 +43,18 @@ jobs:
4243
with:
4344
name: release_zips_linux_amd64
4445
path: "./*.zip"
46+
4547
test_offline:
46-
runs-on: ubuntu-20.04
48+
runs-on: ubuntu-24.04
4749
steps:
4850
- uses: actions/checkout@v4
4951
- name: make
5052
run: make
5153
- name: test
5254
run: make test_offline
55+
5356
test_spinsim:
54-
runs-on: ubuntu-20.04
57+
runs-on: ubuntu-24.04
5558
timeout-minutes: 10
5659
steps:
5760
- uses: actions/checkout@v4
@@ -61,4 +64,54 @@ jobs:
6164
run: make
6265
- name: test
6366
run: make test_spinsim
67+
68+
test_3rdparty:
69+
runs-on: ubuntu-24.04
70+
steps:
71+
- name: Grab utilities
72+
run: "sudo apt-get install rake"
73+
- name: Fetch spin2cpp
74+
uses: actions/checkout@v4
75+
with:
76+
path: spin2cpp
77+
- name: Build flexspin
78+
run: make -j "OPT=-O2 -march=native"
79+
working-directory: spin2cpp
80+
81+
- name: Fetch Spin Hexagon
82+
uses: actions/checkout@v4
83+
with:
84+
repository: IRQsome/Spin-Hexagon
85+
path: hexagon_p1
86+
sparse-checkout-cone-mode: false
87+
sparse-checkout: | # Avoid grabbing large audio files
88+
/*
89+
!*.RAW
90+
!*.VU
91+
- name: Compile Spin Hexagon
92+
run: rake
93+
working-directory: hexagon_p1
94+
env:
95+
FASTSPIN_NAME: ${{github.workspace}}/spin2cpp/build/flexspin
96+
97+
- name: Fetch MegaYume
98+
uses: actions/checkout@v4
99+
with:
100+
repository: IRQsome/MegaYume
101+
path: megayume
102+
- name: Compile MegaYume
103+
run: ./build_comptest.sh
104+
working-directory: megayume
105+
106+
- name: Fetch NeoYume
107+
uses: actions/checkout@v4
108+
with:
109+
repository: IRQsome/NeoYume
110+
path: neoyume
111+
- name: Compile NeoYume
112+
run: ./build_comptest.sh
113+
working-directory: neoyume
114+
115+
116+
64117

0 commit comments

Comments
 (0)