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