Skip to content

Commit 15bb26d

Browse files
Merge pull request #29 from warmenhoven/dev/warmenhoven/tvos
Add tvos build
2 parents 91a4673 + dc854ce commit 15bb26d

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ include:
5858
- project: 'libretro-infrastructure/ci-templates'
5959
file: '/ios-arm64.yml'
6060

61+
# tvOS
62+
- project: 'libretro-infrastructure/ci-templates'
63+
file: '/tvos-arm64.yml'
64+
6165
################################## CONSOLES ################################
6266
# Dingux (GCW Zero)
6367
- project: 'libretro-infrastructure/ci-templates'
@@ -192,6 +196,12 @@ libretro-build-ios-arm64:
192196
- .libretro-ios-arm64-make-default
193197
- .core-defs
194198

199+
# tvOS
200+
libretro-build-tvos-arm64:
201+
extends:
202+
- .libretro-tvos-arm64-make-default
203+
- .core-defs
204+
195205
################################### CONSOLES #################################
196206
# Dingux (GCW Zero)
197207
libretro-build-dingux-mips32:

libretroBuildSystem/Makefile.libretro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ else ifeq ($(platform), tvos-arm64)
186186
ifeq ($(IOSSDK),)
187187
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
188188
endif
189+
CC = clang -arch arm64 -isysroot $(IOSSDK)
190+
CXX = clang++ -arch arm64 -isysroot $(IOSSDK)
189191

190192
# Theos iOS
191193
else ifeq ($(platform), theos_ios)

0 commit comments

Comments
 (0)