-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 01ba2cd
Showing
40 changed files
with
1,960 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: build | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
paths: | ||
- '.github/workflows/build.yml' | ||
- 'Makefile' | ||
- '**.cpp' | ||
- '**.h' | ||
|
||
push: | ||
paths: | ||
- '.github/workflows/build.yml' | ||
- 'Makefile' | ||
- '**.cpp' | ||
- '**.h' | ||
|
||
jobs: | ||
build: | ||
name: Build project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Update things | ||
run: | | ||
sudo apt update | ||
sudo apt upgrade | ||
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb | ||
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb | ||
- name: Download OpenOrbis | ||
run: | | ||
wget https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain/releases/download/v0.5.2/v0.5.2.tar.gz | ||
tar xvf v0.5.2.tar.gz | ||
- name: Build | ||
run: | | ||
export OO_PS4_TOOLCHAIN=./OpenOrbis/PS4Toolchain | ||
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 | ||
make -j4 | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ps4-input | ||
path: | | ||
assets | ||
input | ||
sce_module | ||
sce_sys | ||
eboot.bin | ||
*.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
input/x64/ | ||
eboot.bin | ||
param.sfo | ||
pkg.gp4 | ||
*.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Win32", | ||
"includePath": [ | ||
"${workspaceFolder}/**", | ||
"C:/OpenOrbis/PS4Toolchain/include/**" | ||
], | ||
"compilerPath": "cl.exe", | ||
"cStandard": "c17", | ||
"cppStandard": "c++17" | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "(Windows) Launch", | ||
"type": "cppvsdbg", | ||
"request": "launch", | ||
"program": "${config:ps4emu.exe}", | ||
"args": ["-f", "${workspaceRoot}\\..\\", "-e", "${workspaceRoot}\\..\\eboot.bin", "-pad", "sdl2"], | ||
"stopAtEntry": false, | ||
"cwd": "${config:ps4emu.path}", | ||
"environment": [], | ||
"console": "integratedTerminal", | ||
"preLaunchTask": "Build" | ||
} | ||
|
||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build", | ||
"type": "shell", | ||
"command": "build.bat", | ||
"options": { | ||
"cwd": "${workspaceRoot}/input" | ||
}, | ||
"args": [ | ||
"x64\\Debug\\", | ||
"input", | ||
"C:\\OpenOrbis\\PS4Toolchain\\samples\\input" | ||
], | ||
"problemMatcher": ["$gcc"], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.