Skip to content

DevilutionX

DevilutionX #2

Workflow file for this run

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