Better fix for throw argument thing (I think) #743
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |