Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build PS4-CleanELF2

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Install g++ Compiler
run: sudo apt-get update && sudo apt-get install -y g++

- name: Build project.elf with make
run: make

#- name: List files in workspace
# run: |
#echo "Aktuelles Verzeichnis:"
#pwd
#echo "Dateien und ordner (rekursiv):"
#ls -lR

- name: Upload PS4-CleanELF.elf as artifact
uses: actions/upload-artifact@v4
with:
name: PS4-CleanELF-elf-binary
path: PS4-CleanELF.elf


release:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'release'

steps:
- name: Download build artifact
uses: actions/download-artifact@v4
with:
name: PS4-CleanELF-elf-binary

- name: Upload Release Asset
uses: softprops/action-gh-release@v1
with:
files: PS4-CleanELF.elf
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion include/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ typedef volatile s16 vs16;
typedef volatile s32 vs32;
typedef volatile s64 vs64;

typedef uint32_t __dev_t;
//typedef uint32_t __dev_t;
typedef uint32_t blksize_t;
typedef int64_t blkcnt_t;
typedef uint32_t dev_t;
Expand Down