ci: fixes #4
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: SverigesRadio | |
on: | |
push: | |
paths: | |
- 'homebrew/SverigesRadio/**' | |
pull_request: | |
paths: | |
- 'homebrew/SverigesRadio/**' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install bash clang-15 lld-15 | |
sudo apt install build-essential | |
- name: Install toolchain | |
run: | | |
wget 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: | | |
PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk ./homebrew/SverigesRadio/build.sh | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SverigesRadio | |
path: ./homebrew/SverigesRadio | |
if-no-files-found: error | |