Builds on PSP properly.
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
apt-get update
|
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
|
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
|
- name: Configure CMake for tests
|
||||||
run: cmake -S . -B build -DDUSK_BUILD_TESTS=ON
|
run: cmake -S . -B build -DDUSK_BUILD_TESTS=ON -DDUSK_TARGET_SYSTEM=linux
|
||||||
- name: Build tests
|
- name: Build tests
|
||||||
run: cmake --build build -- -j$(nproc)
|
run: cmake --build build -- -j$(nproc)
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ option(ENABLE_TESTS "Enable tests" ON)
|
|||||||
|
|
||||||
# Set target system
|
# Set target system
|
||||||
if(NOT DEFINED DUSK_TARGET_SYSTEM)
|
if(NOT DEFINED DUSK_TARGET_SYSTEM)
|
||||||
# set(DUSK_TARGET_SYSTEM "linux")
|
set(DUSK_TARGET_SYSTEM "linux")
|
||||||
set(DUSK_TARGET_SYSTEM "psp")
|
# set(DUSK_TARGET_SYSTEM "psp")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Prep cache
|
# Prep cache
|
||||||
|
|||||||
Reference in New Issue
Block a user