ci: fix ffplay #2
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: FFplay | |
on: | |
push: | |
paths: | |
- 'homebrew/FFplay/**' | |
pull_request: | |
paths: | |
- 'homebrew/FFplay/**' | |
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/FFplay/build.sh | |
- name: Upload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: FFplay | |
path: ./homebrew/FFplay | |
if-no-files-found: error | |