Commit a875e8d2 authored by nanahira's avatar nanahira

macos ocgcore build

parent 13e70c5a
...@@ -89,6 +89,19 @@ ocgcore_linux: ...@@ -89,6 +89,19 @@ ocgcore_linux:
paths: paths:
- Assets/Plugins/Linux - Assets/Plugins/Linux
ocgcore_macos:
extends:
- .ocgcore_unix
tags:
- linux
image: git-registry.mycard.moe/mycard/docker-runner-base:buster
variables:
GMAKE_PLATFORM: macos
PLUGIN_PLATFORM: MacOS
artifacts:
paths:
- Assets/Plugins/Linux
# run this job when you need to request a license # run this job when you need to request a license
# you may need to follow activation steps from documentation # you may need to follow activation steps from documentation
get-activation-file: get-activation-file:
...@@ -194,7 +207,8 @@ build-StandaloneLinux64: ...@@ -194,7 +207,8 @@ build-StandaloneLinux64:
build-StandaloneOSX: build-StandaloneOSX:
extends: .build extends: .build
dependencies: [] # todo dependencies:
- ocgcore_macos
image: $IMAGE:$UNITY_VERSION-mac-mono-$IMAGE_VERSION image: $IMAGE:$UNITY_VERSION-mac-mono-$IMAGE_VERSION
variables: variables:
BUILD_TARGET: StandaloneOSX BUILD_TARGET: StandaloneOSX
......
...@@ -48,8 +48,8 @@ ifeq ($(config),release) ...@@ -48,8 +48,8 @@ ifeq ($(config),release)
TARGETDIR = ../../bin/gmake.macos TARGETDIR = ../../bin/gmake.macos
TARGET = $(TARGETDIR)/liblua.a TARGET = $(TARGETDIR)/liblua.a
OBJDIR = ../../obj/gmake.macos/lua OBJDIR = ../../obj/gmake.macos/lua
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O3 -fno-strict-aliasing -Wno-format-security $(OSX_FLAGS) ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O3 -fno-strict-aliasing -Wno-format-security -x c++ $(OSX_FLAGS)
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O3 -fno-strict-aliasing -Wno-format-security $(OSX_FLAGS) ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O3 -fno-strict-aliasing -Wno-format-security -x c++ $(OSX_FLAGS)
endif endif
# Per File Configurations # Per File Configurations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment