Commit 9b7d4786 authored by Gabriel Le Breton's avatar Gabriel Le Breton

Merge remote-tracking branch 'github/master'

parents ed68f2f0 245ab56d
Pipeline #99855559 failed with stages
in 21 minutes and 39 seconds
......@@ -2,57 +2,62 @@ sudo: required
language: bash
env:
global:
- IMAGE_NAME=gableroux/unity3d:2018.2.6f1
- BUILD_NAME=ExampleProjectName
services:
- docker
before_install:
- openssl aes-256-cbc -K $encrypted_82766e747237_key -iv $encrypted_82766e747237_iv
-in Unity_v2018.x.ulf.enc -out ./Unity_v2018.x.ulf -d
- export UNITY_LICENSE_CONTENT=`cat Unity_v2018.x.ulf`
- rm Unity_v2018.x.ulf
-in ./unity3d.alf -out ./Unity_v2019.x.ulf -d
- export UNITY_LICENSE_CONTENT=`cat Unity_v2019.x.ulf`
- rm Unity_v2019.x.ulf
- docker pull $IMAGE_NAME
jobs:
include:
- stage: test
script: "chmod +x ./ci/docker_test.sh && ./ci/docker_test.sh"
env: TEST_PLATFORM=editmode
env: TEST_PLATFORM=editmode IMAGE_NAME=gableroux/unity3d:2019.2.11f1
addons:
artifacts:
target_paths:
s3_region: "us-west-1"
paths:
- "$(pwd)/$TEST_PLATFORM-results.xml"
- stage: test
script: "chmod +x ./ci/docker_test.sh && ./ci/docker_test.sh"
env: TEST_PLATFORM=playmode
env: TEST_PLATFORM=playmode IMAGE_NAME=gableroux/unity3d:2019.2.11f1
addons:
artifacts:
target_paths:
s3_region: "us-west-1"
paths:
- "$(pwd)/$TEST_PLATFORM-results.xml"
- stage: build
env: BUILD_TARGET=StandaloneLinux64
env: BUILD_TARGET=StandaloneLinux64 IMAGE_NAME=gableroux/unity3d:2019.2.11f1
script: "chmod +x ./ci/docker_build.sh && ./ci/docker_build.sh"
addons:
artifacts:
target_paths:
s3_region: "us-west-1"
paths:
- "./Builds/"
- stage: build
env: BUILD_TARGET=StandaloneOSX
env: BUILD_TARGET=StandaloneOSX IMAGE_NAME=gableroux/unity3d:2019.2.11f1-mac
script: "chmod +x ./ci/docker_build.sh && ./ci/docker_build.sh"
addons:
artifacts:
target_paths:
s3_region: "us-west-1"
paths:
- "./Builds/"
- stage: build
env: BUILD_TARGET=StandaloneWindows64
env: BUILD_TARGET=StandaloneWindows64 IMAGE_NAME=gableroux/unity3d:2019.2.11f1-windows
script: "chmod +x ./ci/docker_build.sh &&./ci/docker_build.sh"
addons:
artifacts:
target_paths:
s3_region: "us-west-1"
paths:
- "./Builds/"
- stage: build
env: BUILD_TARGET=WebGL
env: BUILD_TARGET=WebGL IMAGE_NAME=gableroux/unity3d:2019.2.11f1-webgl
script: "chmod +x ./ci/docker_build.sh && ./ci/docker_build.sh"
addons:
artifacts:
target_paths:
s3_region: "us-west-1"
paths:
- "./Builds/"
......@@ -5,7 +5,7 @@ set -x
echo "Building for $BUILD_TARGET"
export BUILD_PATH=./Builds/$BUILD_TARGET/
export BUILD_PATH=/project/Builds/$BUILD_TARGET/
mkdir -p $BUILD_PATH
${UNITY_EXECUTABLE:-xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' /opt/Unity/Editor/Unity} \
......
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