New glue functions needed after toolchain upgrade #421
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: CI | |
on: | |
push: | |
pull_request: | |
repository_dispatch: | |
types: [run_build] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ghcr.io/pspdev/psptoolchain:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
apk add build-base autoconf automake zlib-dev | |
- name: Compile PSPSDK | |
run: | | |
./bootstrap | |
./configure | |
make clean | |
make -j $(getconf _NPROCESSORS_ONLN) | |
make install | |
- name: Get short SHA | |
id: slug | |
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT | |
- name: Compile Examples | |
run: | | |
cd src/samples && make -f Makefile.samples | |
- name: Compress Samples folder folder | |
run: | | |
tar -zcvf samples.tar.gz src/samples | |
- name: Upload Samples artifacts | |
if: ${{ success() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: samples-${{ steps.slug.outputs.sha8 }} | |
path: samples.tar.gz |