Test linux build first
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y build-essential cmake python3 python3-pip libsdl2-dev libgl1-mesa-dev
|
||||
apt-get install -y build-essential cmake python3 python3-pip python3-pil libsdl2-dev libgl1-mesa-dev
|
||||
- name: Configure CMake
|
||||
run: cmake -S . -B build -DDUSK_TARGET_SYSTEM=linux
|
||||
- name: Build
|
||||
@@ -30,32 +30,32 @@ jobs:
|
||||
name: dusk-linux
|
||||
path: build/Dusk
|
||||
|
||||
build-psp:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y build-essential cmake python3 python3-pip wget
|
||||
- name: Configure CMake
|
||||
run: cmake -S . -B build -DDUSK_TARGET_SYSTEM=psp
|
||||
- name: Build
|
||||
run: cmake --build build -- -j$(nproc)
|
||||
- name: List build output
|
||||
run: ls -lh build
|
||||
- name: Upload PSP binary
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: eboot-psp
|
||||
path: build/EBOOT.PBP
|
||||
# build-psp:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v3
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# apt-get update
|
||||
# apt-get install -y build-essential cmake python3 python3-pip wget python3-pil
|
||||
# - name: Configure CMake
|
||||
# run: cmake -S . -B build -DDUSK_TARGET_SYSTEM=psp
|
||||
# - name: Build
|
||||
# run: cmake --build build -- -j$(nproc)
|
||||
# - name: List build output
|
||||
# run: ls -lh build
|
||||
# - name: Upload PSP binary
|
||||
# uses: actions/upload-artifact@v3
|
||||
# with:
|
||||
# name: eboot-psp
|
||||
# path: build/EBOOT.PBP
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-linux
|
||||
- build-psp
|
||||
# - build-psp
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
@@ -64,11 +64,11 @@ jobs:
|
||||
with:
|
||||
name: dusk-linux
|
||||
path: ./release-assets
|
||||
- name: Download PSP binary
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: eboot-psp
|
||||
path: ./release-assets
|
||||
# - name: Download PSP binary
|
||||
# uses: actions/download-artifact@v3
|
||||
# with:
|
||||
# name: eboot-psp
|
||||
# path: ./release-assets
|
||||
- name: Create Gitea Release
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user