From 0a696219e5308dab013b713ce699767d3492c99a Mon Sep 17 00:00:00 2001 From: Mikolaj Gorski Date: Sun, 2 Jul 2023 02:09:37 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 939322b..c1b753f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,33 +1,5 @@ -image: unityci/editor:VERSION - -before_script: - - apt-get update - - apt-get install -y --no-install-recommends \ - xvfb \ - xorg-dev \ - libglu1-mesa-dev - - curl -sL https://deb.nodesource.com/setup_14.x | bash - - - apt-get update - - apt-get install -y --no-install-recommends \ - nodejs \ - python2.7 \ - cmake \ - default-jre-headless - - git clone https://github.com/emscripten-core/emsdk.git - - cd emsdk - - ./emsdk install latest - - ./emsdk activate latest - - source ./emsdk_env.sh - - export UNITY_LICENSE_CONTENT="$UNITY_LICENSE" - - . <(curl -s https://raw.githubusercontent.com/game-ci/docker/master/entrypoint.sh) - -build_windows: - stage: build - script: - - unity-ci build --target StandaloneWindows64 --output build/windows - artifacts: - paths: - - build/windows/ +stages: + - build build_linux: stage: build @@ -37,10 +9,3 @@ build_linux: paths: - build/linux/ -build_webgl: - stage: build - script: - - unity-ci build --target WebGL --output build/webgl - artifacts: - paths: - - build/webgl/ \ No newline at end of file