fpPS4/.github/workflows/pr.yml

43 lines
755 B
YAML
Raw Permalink Normal View History

name: PR CI
on:
pull_request:
branches:
- '*'
2023-01-18 09:08:08 +00:00
workflow_dispatch:
jobs:
build_windows:
2024-10-01 17:36:58 +00:00
runs-on: windows-latest
steps:
2024-10-01 17:36:58 +00:00
- 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