fpPS4/.github/workflows/pr.yml
red-prig 04cefd43e6
Some checks failed
Main CI / build_windows (push) Has been cancelled
Switch to GitHub runners
2024-10-01 20:36:58 +03:00

43 lines
755 B
YAML

name: PR CI
on:
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
build_windows:
runs-on: windows-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install Lazarus
uses: red-prig/setup-lazarus@v3
with:
lazarus-version: "3.6"
with-cache: true
- name: Hash
shell: cmd
working-directory: ./
run: echo '%GITHUB_SHA:~0,7%' > tag.inc
- name: Compile
shell: cmd
working-directory: ./
run: |
lazbuild -B fpPS4.lpi > nul
strip fpPS4.exe
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: fpPS4
path: fpPS4.exe
if-no-files-found: warn