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