From 6099a8d91efc7f1aec7cd202d1fa0720087c6141 Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 22:50:27 +0200 Subject: [PATCH 01/10] Create build.yml --- .github/workflows/build.yml | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c645f87 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,47 @@ +name: Build PS4-CleanELF + +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: Upload project.elf as artifact + uses: actions/upload-artifact@v3 + with: + name: project-elf-binary + path: project.elf + + release: + needs: build + runs-on: ubuntu-latest + if: github.event_name == 'release' + + steps: + - name: Download build artifact + uses: actions/download-artifact@v3 + with: + name: project-elf-binary + + - name: Upload Release Asset + uses: softprops/action-gh-release@v1 + with: + files: project.elf + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 25564ad6ab09a51a80dd7cddb37f96897a409614 Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 22:52:57 +0200 Subject: [PATCH 02/10] dd --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c645f87..9af4568 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build PS4-CleanELF +name: Build PS4-CleanELF2 on: push: From fdbceae35f702d7635604f3faa85e018a5ed4a22 Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 22:56:03 +0200 Subject: [PATCH 03/10] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9af4568..0da15a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: run: make - name: Upload project.elf as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: project-elf-binary path: project.elf @@ -35,7 +35,7 @@ jobs: steps: - name: Download build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: project-elf-binary From a8aaafee802a89e065f3b3019cc30767270e1c6d Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 22:58:01 +0200 Subject: [PATCH 04/10] Update types.h --- include/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/types.h b/include/types.h index 92af607..7ba5929 100644 --- a/include/types.h +++ b/include/types.h @@ -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; From fb55df440a307a11f551d92c9dec9949227355ef Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 23:02:22 +0200 Subject: [PATCH 05/10] Update build.yml --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0da15a2..b7f3bca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,11 +22,13 @@ jobs: - name: Build project.elf with make run: make - - name: Upload project.elf as artifact - uses: actions/upload-artifact@v4 - with: - name: project-elf-binary - path: project.elf + - name: List files in workspace + run: | + echo "Aktuelles Verzeichnis:" + pwd + echo "Dateien und ordner (rekursiv):" + ls -lR + release: needs: build From 712fed53ba653cca978fc4688d512c1fed9e5684 Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 23:03:40 +0200 Subject: [PATCH 06/10] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7f3bca..f923859 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,10 +24,10 @@ jobs: - name: List files in workspace run: | - echo "Aktuelles Verzeichnis:" - pwd - echo "Dateien und ordner (rekursiv):" - ls -lR + echo "Aktuelles Verzeichnis:" + pwd + echo "Dateien und ordner (rekursiv):" + ls -lR release: From 2d671cd7fd12f6d9e6564faaf9a8ed8b072d9ecd Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 23:04:52 +0200 Subject: [PATCH 07/10] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f923859..a31fa46 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: Build project.elf with make run: make - - name: List files in workspace + - name: Create Release run: | echo "Aktuelles Verzeichnis:" pwd From f0d93dad814758b2cf997a069d66fac9162305c6 Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 23:06:36 +0200 Subject: [PATCH 08/10] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a31fa46..8dff89c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,10 +24,10 @@ jobs: - name: Create Release run: | - echo "Aktuelles Verzeichnis:" - pwd - echo "Dateien und ordner (rekursiv):" - ls -lR + echo "Aktuelles Verzeichnis:" + pwd + echo "Dateien und ordner (rekursiv):" + ls -lR release: From 001f830c3613dfd1072ab0eeb966cd979cbc4f7a Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 23:10:11 +0200 Subject: [PATCH 09/10] Update build.yml --- .github/workflows/build.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dff89c..1a1ecd2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,12 +22,18 @@ jobs: - name: Build project.elf with make run: make - - name: Create Release - run: | - echo "Aktuelles Verzeichnis:" - pwd - echo "Dateien und ordner (rekursiv):" - ls -lR + #- 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@v3 + with: + name: PS4-CleanELF-elf-binary + path: PS4-CleanELF.elf release: @@ -39,11 +45,11 @@ jobs: - name: Download build artifact uses: actions/download-artifact@v4 with: - name: project-elf-binary + name: PS4-CleanELF-elf-binary - name: Upload Release Asset uses: softprops/action-gh-release@v1 with: - files: project.elf + files: PS4-CleanELF.elf env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 470e487de540a8421cc8899d4e9ff23beeeb3e8d Mon Sep 17 00:00:00 2001 From: DontCry000x Date: Mon, 22 Sep 2025 23:10:53 +0200 Subject: [PATCH 10/10] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a1ecd2..d3eb1dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: #ls -lR - name: Upload PS4-CleanELF.elf as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: PS4-CleanELF-elf-binary path: PS4-CleanELF.elf