Merge pull request #85 from fjtrujy/sprite_list #779
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: CI | |
on: | |
push: | |
pull_request: | |
repository_dispatch: | |
types: [run_build] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ps2dev/ps2sdk-ports:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apk add build-base git cmake | |
- name: Compile project with everything enabled | |
env: | |
GSKIT_DEBUG: 1 | |
run: | | |
make -j $(getconf _NPROCESSORS_ONLN) clean | |
make -j $(getconf _NPROCESSORS_ONLN) | |
make -j $(getconf _NPROCESSORS_ONLN) install | |
- name: Get short SHA | |
id: slug | |
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT | |
- name: Upload artifacts | |
if: ${{ success() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: gsKit-samples-${{ steps.slug.outputs.sha8 }} | |
path: build/*.elf |