Skip to content

Merge pull request #22 from ps2dev/ImproveGlutIdleFuncUsage #55

Merge pull request #22 from ps2dev/ImproveGlutIdleFuncUsage

Merge pull request #22 from ps2dev/ImproveGlutIdleFuncUsage #55

Workflow file for this run

name: CI
on:
push:
pull_request:
repository_dispatch:
types: [run_build]
jobs:
build:
runs-on: ubuntu-latest
container: ps2dev/ps2sdk:latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apk add build-base git
- name: Install ps2stuff
run: |
git clone https://github.com/ps2dev/ps2stuff.git
cd ps2stuff
make -j $(getconf _NPROCESSORS_ONLN) clean
make -j $(getconf _NPROCESSORS_ONLN) all
make -j $(getconf _NPROCESSORS_ONLN) install
- name: Compile project
run: |
make -j $(getconf _NPROCESSORS_ONLN) clean
make -j $(getconf _NPROCESSORS_ONLN) all
make -j $(getconf _NPROCESSORS_ONLN) install
- name: Compile GLUT
run: |
cd glut
make -j $(getconf _NPROCESSORS_ONLN) clean
make -j $(getconf _NPROCESSORS_ONLN) all
make -j $(getconf _NPROCESSORS_ONLN) install
- name: Compile examples
run: |
cd examples
cd box && make clean all && cd ..
cd logo && make clean all && cd ..
cd performance && make clean all && cd ..
cd tricked_out && make clean all && cd ..
cd nehe/lesson02 && make clean all && cd ../..
cd nehe/lesson03 && make clean all && cd ../..
cd nehe/lesson04 && make clean all && cd ../..
cd nehe/lesson05 && make clean all && cd ../..
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: examples
path: |
examples/**/*.elf
examples/**/*.gl
examples/**/*.rtx
examples/**/*.bin