Skip to content

Commit

Permalink
ci: add devilutionx
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tornblom committed Oct 19, 2024
1 parent 72dee05 commit 7de1c5e
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/devilutionx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: DevilutionX

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:
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 cmake pkg-config
sudo apt install smpq
- 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/DevilutionX/build.sh
- name: Upload
uses: actions/upload-artifact@v3
with:
name: DevilutionX
path: ./homebrew/DevilutionX
if-no-files-found: error

0 comments on commit 7de1c5e

Please sign in to comment.