mirror of https://github.com/red-prig/fpPS4.git
Add CI
This commit is contained in:
parent
dabe98aeac
commit
ffeba7f577
|
@ -0,0 +1,48 @@
|
||||||
|
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_windows:
|
||||||
|
runs-on: self-hosted
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Tag
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ./
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
run: echo '%GITHUB_REF_NAME%' > tag.inc
|
||||||
|
|
||||||
|
- name: Compile
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ./
|
||||||
|
run: lazbuild -B fpPS4.lpi
|
||||||
|
|
||||||
|
- name: Pack
|
||||||
|
shell: cmd
|
||||||
|
working-directory: ./
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
run: |
|
||||||
|
strip fpPS4.exe
|
||||||
|
mkdir sce_module
|
||||||
|
echo "put libSceNgs2.prx here" > sce_module/info.txt
|
||||||
|
zip -9 -qq -r "fpPS4_%GITHUB_REF_NAME%.zip" "fpPS4.exe" "shaders/*.spv" "sce_module/info.txt"
|
||||||
|
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
files: ./fpPS4_${{ github.ref_name }}.zip
|
|
@ -47,6 +47,8 @@ begin
|
||||||
if (ParamCount=0) then
|
if (ParamCount=0) then
|
||||||
begin
|
begin
|
||||||
promo:
|
promo:
|
||||||
|
Writeln('fpPS4 '+{$I tag.inc});
|
||||||
|
Writeln('Copyright (c) 2021-2022 by Red_prig');
|
||||||
Writeln('PS4 compatibility layer (emulator) on Free Pascal '+{$I %FPCVERSION%});
|
Writeln('PS4 compatibility layer (emulator) on Free Pascal '+{$I %FPCVERSION%});
|
||||||
Writeln(' Parameters:');
|
Writeln(' Parameters:');
|
||||||
Writeln(' -e <name> //decrypted elf or self file name');
|
Writeln(' -e <name> //decrypted elf or self file name');
|
||||||
|
@ -476,6 +478,12 @@ begin
|
||||||
//ps4_app.app_path:='C:\Users\User\Desktop\Games\Hue\CUSA05065\';
|
//ps4_app.app_path:='C:\Users\User\Desktop\Games\Hue\CUSA05065\';
|
||||||
//ps4_app.app_file:='C:\Users\User\Desktop\Games\Hue\CUSA05065\eboot.bin';
|
//ps4_app.app_file:='C:\Users\User\Desktop\Games\Hue\CUSA05065\eboot.bin';
|
||||||
|
|
||||||
|
//ps4_app.app_path:='C:\Users\User\Desktop\Games\ps4-homebrew\creeperdiver-ps4\';
|
||||||
|
//ps4_app.app_file:='C:\Users\User\Desktop\Games\ps4-homebrew\creeperdiver-ps4\eboot.bin';
|
||||||
|
|
||||||
|
//ps4_app.app_path:='C:\Users\User\Desktop\Games\ps4-homebrew\SPELUNKYCLASSIC\';
|
||||||
|
//ps4_app.app_file:='C:\Users\User\Desktop\Games\ps4-homebrew\SPELUNKYCLASSIC\eboot.bin';
|
||||||
|
|
||||||
//elf:=Telf_file(LoadPs4ElfFromFile('libSceLibcInternal.sprx'));
|
//elf:=Telf_file(LoadPs4ElfFromFile('libSceLibcInternal.sprx'));
|
||||||
//elf.Prepare;
|
//elf.Prepare;
|
||||||
//elf.SavePs4ElfToFile('libSceLibcInternal.prx');
|
//elf.SavePs4ElfToFile('libSceLibcInternal.prx');
|
||||||
|
|
Loading…
Reference in New Issue