mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
(.gitlab-ci.yml) Add windows-x64 target
This commit is contained in:
parent
8471a31c9c
commit
32aa4bfdd0
3 changed files with 16 additions and 7 deletions
|
@ -11,26 +11,35 @@ variables:
|
|||
variables:
|
||||
EXTRA_PATH: lib
|
||||
|
||||
.windows-defs:
|
||||
variables:
|
||||
MAKEFILE_PATH: libretro
|
||||
|
||||
include:
|
||||
- template: Jobs/Code-Quality.gitlab-ci.yml
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/android-cmake.yml'
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/linux-cmake.yml'
|
||||
- project: 'libretro-infrastructure/ci-templates'
|
||||
file: '/windows-x64-msvc19-msys2.yml'
|
||||
|
||||
stages:
|
||||
- build-prepare
|
||||
- build-shared
|
||||
- build-static
|
||||
- test
|
||||
|
||||
#Desktop
|
||||
# Desktop
|
||||
libretro-build-linux-x64:
|
||||
extends:
|
||||
- .libretro-linux-cmake-x86_64
|
||||
- .core-defs
|
||||
- .linux-defs
|
||||
|
||||
libretro-build-windows-x64:
|
||||
extends:
|
||||
- .libretro-windows-x64-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>nul)))
|
||||
reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v "$1" 2>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>nul)))
|
||||
reg_query = $(call filter_out2,$(subst $2,,$(shell reg query "$2" -v "$1" 2>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 nul
|
||||
make platform=windows_msvc2019_desktop_x64 -j32 && cp ppsspp_libretro.* /d/retroarch/cores && rm null
|
||||
|
||||
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…
Add table
Reference in a new issue