diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d3eb1dd --- /dev/null +++ b/.github/workflows/build.yml @@ -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 }} \ No newline at end of file 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;