gl shit #278
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: PSPFunkin Compile | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
container: pspdev/pspdev:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Install Dependencies And Compile | |
run: apk add cmake gmp mpc1 mpfr4 gcc g++ --quiet && cd cht2bin && cmake -S . -B ./build && cmake --build ./build && cd .. && cmake --preset psp-release && cmake --build ./build && mkdir export && cht2bin/build/cht2bin assets/songs/bopeebo/bopeebo.json build/assets/songs/bopeebo/bopeebo.bin && cp -R build export | |
- name: Publish Artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: build | |
path: 'export/*' |