Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 51 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,58 @@ jobs:

- name: Build PSL1GHT
run: |
make install-ctrl
make
7z a psl1ght.zip $PSL1GHT/bin
make install

- name: Build PSL1GHT samples
shell: bash
run: |
set -Eeuo pipefail
make VERBOSE=1 -k \
-C samples \
SHELL=/bin/bash \
'.SHELLFLAGS=-e -o pipefail -c' \
2>&1 | tee "$RUNNER_TEMP/psl1ght-samples.log"

- name: Validate sample outputs
shell: bash
run: |
set -Eeuo pipefail

test -f \
samples/sys/threadtest/threadtest.elf

test -f \
samples/sys/threadtest/threadtest.self

test -f \
samples/spu/sputest/sputest.elf

test -f \
samples/spu/sputest/sputest.self

ppu-readelf \
-h \
samples/sys/threadtest/threadtest.elf

echo
echo "Generated sample binaries:"

find samples \
-type f \
\( \
-name '*.elf' -o \
-name '*.self' -o \
-name '*.fake.self' -o \
-name '*.pkg' \
\) \
-print \
| LC_ALL=C sort

- name: Upload sample build results
run: |
7z a psl1ght.zip ./common ./ppu ./samples ./sprx ./spu ./tools psl1ght-samples.log

- name: Push package artifact
uses: actions/upload-artifact@v4
Expand Down
Binary file not shown.
Binary file not shown.
Binary file added samples/graphics/rsxtest/build/fpshader_dbgfont.fpo
Binary file not shown.
Binary file added samples/graphics/rsxtest/build/vpshader_dbgfont.vpo
Binary file not shown.
Loading