Skip to content

Whoopsie

Whoopsie #11

Workflow file for this run

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-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update things
run: |
sudo apt update
sudo apt upgrade
sudo apt install lld
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 -q https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain/releases/download/v0.5.2/v0.5.2.tar.gz
tar xf v0.5.2.tar.gz
cp padpatch/funcs.h OpenOrbis/PS4Toolchain/include/orbis/Pad.h
cp padpatch/types.h OpenOrbis/PS4Toolchain/include/orbis/_types/pad.h
- 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: |
README.md
LICENSE
assets
sce_module
sce_sys
eboot.bin
*.pkg