Commit 45a552fb authored by 神楽坂玲奈's avatar 神楽坂玲奈

Merge remote-tracking branch 'remotes/origin/ci'

parents 9dfcf2e2 f2beeef7
...@@ -57,7 +57,7 @@ image: $IMAGE:$UNITY_VERSION-base-$IMAGE_VERSION ...@@ -57,7 +57,7 @@ image: $IMAGE:$UNITY_VERSION-base-$IMAGE_VERSION
- cd AI_core_vs2017solution/build/gmake.$GMAKE_PLATFORM/ - cd AI_core_vs2017solution/build/gmake.$GMAKE_PLATFORM/
- make config=release -j$(nproc) - make config=release -j$(nproc)
- cd ../.. - cd ../..
- cp -rf bin/gmake.$GMAKE_PLATFORM/x64/*.so ../Assets/Plugins/$PLUGIN_PLATFORM/ - cp -rf bin/gmake.$GMAKE_PLATFORM/$OUTPUT_PATH ../Assets/Plugins/$PLUGIN_PLATFORM/
ocgcore_windows: ocgcore_windows:
extends: extends:
...@@ -71,8 +71,8 @@ ocgcore_windows: ...@@ -71,8 +71,8 @@ ocgcore_windows:
- bash -c 'cp -rf Release/ocgcore.dll ../Assets/Plugins/x86/ ; cp -rf x64/Release/ocgcore.dll ../Assets/Plugins/x64/' - bash -c 'cp -rf Release/ocgcore.dll ../Assets/Plugins/x86/ ; cp -rf x64/Release/ocgcore.dll ../Assets/Plugins/x64/'
artifacts: artifacts:
paths: paths:
- Assets/Plugins/Release - Assets/Plugins/x86
- Assets/Plugins/x64/Release - Assets/Plugins/x64
ocgcore_linux: ocgcore_linux:
extends: extends:
...@@ -85,10 +85,24 @@ ocgcore_linux: ...@@ -85,10 +85,24 @@ ocgcore_linux:
variables: variables:
GMAKE_PLATFORM: linux GMAKE_PLATFORM: linux
PLUGIN_PLATFORM: Linux PLUGIN_PLATFORM: Linux
OUTPUT_PATH: x64/*.so
artifacts: artifacts:
paths: paths:
- Assets/Plugins/Linux - Assets/Plugins/Linux
ocgcore_macos:
extends:
- .ocgcore_unix
tags:
- macos
variables:
GMAKE_PLATFORM: macos
PLUGIN_PLATFORM: MacOS
OUTPUT_PATH: '*.bundle'
artifacts:
paths:
- Assets/Plugins/MacOS
# 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 +208,8 @@ build-StandaloneLinux64: ...@@ -194,7 +208,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