From 1e3bcd92e5effcb8ec61631cd6110868ab42aef3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20T=C3=B6rnblom?= Date: Sat, 19 Oct 2024 15:44:43 +0200 Subject: [PATCH] ci: add lakesnes --- .github/workflows/lakesnes.yml | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/lakesnes.yml diff --git a/.github/workflows/lakesnes.yml b/.github/workflows/lakesnes.yml new file mode 100644 index 0000000..50c62e6 --- /dev/null +++ b/.github/workflows/lakesnes.yml @@ -0,0 +1,44 @@ +name: LakeSnes + +on: + push: + paths: + - 'homebrew/LakeSnes/**' + pull_request: + paths: + - 'homebrew/LakeSnes/**' + +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/LakeSnes/build.sh + + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: LakeSnes + path: ./homebrew/LakeSnes + if-no-files-found: error +