Skip to content

Commit 4ab2c4a

Browse files
Merge pull request #467 from Wuerfel21/W21-3rdparty-integration
Add 3rd-party project integration test job
2 parents a1bd820 + a3442a6 commit 4ab2c4a

File tree

1 file changed

+59
-4
lines changed

1 file changed

+59
-4
lines changed

.github/workflows/build_n_test.yml

Lines changed: 59 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,56 @@ 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+
!*.gif
92+
!*.png
93+
- name: Compile Spin Hexagon
94+
run: rake
95+
working-directory: hexagon_p1
96+
env:
97+
FASTSPIN_NAME: ${{github.workspace}}/spin2cpp/build/flexspin
98+
99+
- name: Fetch MegaYume
100+
uses: actions/checkout@v4
101+
with:
102+
repository: IRQsome/MegaYume
103+
path: megayume
104+
- name: Compile MegaYume
105+
run: ./build_comptest.sh
106+
working-directory: megayume
107+
108+
- name: Fetch NeoYume
109+
uses: actions/checkout@v4
110+
with:
111+
repository: IRQsome/NeoYume
112+
path: neoyume
113+
- name: Compile NeoYume
114+
run: ./build_comptest.sh
115+
working-directory: neoyume
116+
117+
118+
64119

0 commit comments

Comments
 (0)