This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
ci: cosmetics #13
Workflow file for this run
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: Build payload | |
on: | |
push: | |
paths-ignore: | |
- "**/*.md" | |
- '**/*.txt' | |
pull_request: | |
paths-ignore: | |
- "**/*.md" | |
- '**/*.txt' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
payload-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
repository: john-tornblom/ps5-payload-sdk | |
path: ps5-payload-sdk | |
- name: Setup SDK | |
working-directory: ps5-payload-sdk | |
run: | | |
sudo apt update | |
sudo apt install wget build-essential clang clang-15 lld lld-15 | |
make | |
make DESTDIR=${{ runner.tool_cache }}/ps5-payload-sdk install | |
echo PS5_PAYLOAD_SDK=${{ runner.tool_cache }}/ps5-payload-sdk >> $GITHUB_ENV | |
echo PS5_HOST=ps5 >> $GITHUB_ENV | |
echo PS5_PORT=9021 >> $GITHUB_ENV | |
- name: Build | |
run: | | |
make clean all | |
- name: Upload payload | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Payload | |
path: ./*.elf | |
if-no-files-found: error |