mirror of
https://github.com/bps2414/visor-ps5.git
synced 2026-10-17 19:00:23 +02:00
visor.elf now carries the app and its assets, unpacks them to /data/visor, installs the home screen icon and stays resident to launch the app when the icon is pressed. websrv and its Homebrew Launcher are no longer needed; the homebrew loader from websrv is vendored in third_party/websrv. The icon is a web shortcut, so the console opens its browser first. The launcher closes that browser before starting the app instead of leaving a blank page in front of it.
43 lines
967 B
YAML
43 lines
967 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
paths-ignore: ["**/*.md"]
|
|
pull_request:
|
|
paths-ignore: ["**/*.md"]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y build-essential clang-18 lld-18
|
|
|
|
- name: Install toolchain
|
|
run: |
|
|
wget -q https://github.com/ps5-payload-dev/pacbrew-repo/releases/latest/download/ps5-payload-dev.tar.gz
|
|
sudo tar xf ps5-payload-dev.tar.gz -C /
|
|
|
|
- name: Build
|
|
run: bash tools/build-ps5.sh
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: visor.elf
|
|
path: dist/visor.elf
|
|
if-no-files-found: error
|
|
|
|
- name: Release
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: dist/visor.elf
|
|
|
|
permissions:
|
|
contents: write
|