This commit is contained in:
35
.github/workflows/build.yml
vendored
35
.github/workflows/build.yml
vendored
@@ -19,20 +19,43 @@ jobs:
|
||||
# - name: Run tests in Docker
|
||||
# run: ./scripts/test-linux-docker.sh
|
||||
|
||||
build-linux:
|
||||
# build-linux:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Set up Docker
|
||||
# uses: docker/setup-docker-action@v5
|
||||
# - name: Build Linux
|
||||
# run: ./scripts/build-linux-docker.sh
|
||||
# - name: Upload Linux binary
|
||||
# uses: actions/upload-artifact@v6
|
||||
# with:
|
||||
# name: dusk-linux
|
||||
# path: build-linux/Dusk
|
||||
# if-no-files-found: error
|
||||
|
||||
build-psp:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Docker
|
||||
uses: docker/setup-docker-action@v5
|
||||
- name: Build Linux
|
||||
run: ./scripts/build-linux-docker.sh
|
||||
- name: Upload Linux binary
|
||||
- name: Build psp
|
||||
run: ./scripts/build-psp-docker.sh
|
||||
- name: Move EBOOT.PBP to Dusk subfolder
|
||||
run: |
|
||||
# Create Dusk.zip with /PSP/GAME/Dusk/EBOOT.PBP structure
|
||||
mkdir -p build-psp/git-artifcats/PSP/GAME/Dusk
|
||||
cp build-psp/EBOOT.PBP build-psp/git-artifcats/PSP/GAME/Dusk/EBOOT.PBP
|
||||
cd build-psp/git-artifcats
|
||||
zip -r Dusk.zip PSP
|
||||
- name: Upload psp binary
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
name: dusk-linux
|
||||
path: build-linux/Dusk
|
||||
name: dusk-psp
|
||||
path: build-psp/git-artifcats/Dusk.zip
|
||||
if-no-files-found: error
|
||||
|
||||
# build-psp:
|
||||
|
||||
Reference in New Issue
Block a user