mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-11-23 06:19:57 +00:00
43 lines
755 B
YAML
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
|