mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
(.gitlab-ci.yml) Add linux-i686 and windows-i686 targets (+ prevent creation of 'null' file when building Windows libretro cores)
This commit is contained in:
parent
a51036ffaf
commit
580c0d3e61
3
.gitignore
vendored
3
.gitignore
vendored
@ -116,6 +116,3 @@ debian/ppsspp/
|
||||
|
||||
# RenderDoc
|
||||
*.rdc
|
||||
|
||||
# bad output from libretro. don't want to accidentally add it
|
||||
nul
|
||||
|
@ -22,6 +22,8 @@ include:
|
||||
file: '/linux-cmake.yml'
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/windows-x64-msvc19-msys2.yml'
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/windows-i686-msvc19-msys2.yml'
|
||||
|
||||
stages:
|
||||
- build-prepare
|
||||
@ -34,12 +36,24 @@ libretro-build-linux-x64:
|
||||
- .core-defs
|
||||
- .linux-defs
|
||||
|
||||
libretro-build-linux-i686:
|
||||
extends:
|
||||
- .libretro-linux-cmake-x86
|
||||
- .core-defs
|
||||
- .linux-defs
|
||||
|
||||
libretro-build-windows-x64:
|
||||
extends:
|
||||
- .libretro-windows-x64-msvc19-msys2-make-default
|
||||
- .core-defs
|
||||
- .windows-defs
|
||||
|
||||
libretro-build-windows-i686:
|
||||
extends:
|
||||
- .libretro-windows-i686-msvc19-msys2-make-default
|
||||
- .core-defs
|
||||
- .windows-defs
|
||||
|
||||
# Android
|
||||
libretro-build-android-armeabi-v7a:
|
||||
extends:
|
||||
|
@ -304,7 +304,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform)))
|
||||
filter_out1 = $(filter-out $(firstword $1),$1)
|
||||
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
|
||||
|
||||
reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v "$1" 2>null)))
|
||||
reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v "$1" 2>/dev/null)))
|
||||
fix_path = $(subst $(SPACE),\ ,$(subst \,/,$1))
|
||||
|
||||
b1 := (
|
||||
@ -415,7 +415,7 @@ else ifneq (,$(findstring windows_msvc2019,$(platform)))
|
||||
filter_out1 = $(filter-out $(firstword $1),$1)
|
||||
filter_out2 = $(call filter_out1,$(call filter_out1,$1))
|
||||
|
||||
reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v "$1" 2>null)))
|
||||
reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v "$1" 2>/dev/null)))
|
||||
fix_path = $(subst $(SPACE),\ ,$(subst \,/,$1))
|
||||
|
||||
b1 := (
|
||||
|
@ -13,7 +13,7 @@ pacman -S make
|
||||
Then use the following in msys:
|
||||
|
||||
cd libretro
|
||||
make platform=windows_msvc2019_desktop_x64 -j32 && cp ppsspp_libretro.* /d/retroarch/cores && rm null
|
||||
make platform=windows_msvc2019_desktop_x64 -j32 && cp ppsspp_libretro.* /d/retroarch/cores
|
||||
|
||||
Note that the latter part copies the DLL/PDB into wherever retroarch reads it from. Might need to adjust the path,
|
||||
and adjust -j32 depending on your number of logical CPUs - might not need that many threads (or you might need more...).
|
||||
|
Loading…
Reference in New Issue
Block a user