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
|
# - name: Run tests in Docker
|
||||||
# run: ./scripts/test-linux-docker.sh
|
# 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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Docker
|
- name: Set up Docker
|
||||||
uses: docker/setup-docker-action@v5
|
uses: docker/setup-docker-action@v5
|
||||||
- name: Build Linux
|
- name: Build psp
|
||||||
run: ./scripts/build-linux-docker.sh
|
run: ./scripts/build-psp-docker.sh
|
||||||
- name: Upload Linux binary
|
- 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
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: dusk-linux
|
name: dusk-psp
|
||||||
path: build-linux/Dusk
|
path: build-psp/git-artifcats/Dusk.zip
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
# build-psp:
|
# build-psp:
|
||||||
|
|||||||
Reference in New Issue
Block a user