Use script system
All checks were successful
Build Dusk / run-tests (push) Successful in 1m15s
Build Dusk / build-linux (push) Successful in 1m6s

This commit is contained in:
2026-03-10 15:15:31 -05:00
parent 549ebe25d8
commit d67ef02941
3 changed files with 11 additions and 12 deletions

View File

@@ -18,12 +18,8 @@ jobs:
run: |
apt-get update
apt-get install -y build-essential cmake python3 python3-pip python3-polib python3-pil libsdl2-dev libgl1-mesa-dev libzip-dev python3-dotenv python3-pyqt5 python3-opengl liblua5.3-dev
- name: Configure CMake for tests
run: cmake -S . -B build -DDUSK_BUILD_TESTS=ON -DDUSK_TARGET_SYSTEM=linux
- name: Build tests
run: cmake --build build -- -j$(nproc)
- name: Run tests
run: ctest --output-on-failure --test-dir build
run: ./scripts/test-linux.sh
build-linux:
runs-on: ubuntu-latest
@@ -34,17 +30,13 @@ jobs:
run: |
apt-get update
apt-get install -y build-essential cmake python3 python3-pip python3-polib python3-pil libsdl2-dev libgl1-mesa-dev libzip-dev python3-dotenv python3-pyqt5 python3-opengl liblua5.3-dev
- name: Configure CMake
run: cmake -S . -B build -DDUSK_TARGET_SYSTEM=linux
- name: Build
run: cmake --build build -- -j$(nproc)
- name: List build output
run: ls -lh build
- name: Build Linux
run: ./scripts/build-linux.sh
- name: Upload Linux binary
uses: https://git.wish.moe/YourWishes/upload-artifact@v3/node20
with:
name: dusk-linux
path: build/Dusk
path: build-linux/Dusk
if-no-files-found: error
# build-psp: