Filip Loster | |
---|---|
Vile Monarch Senior Developer Live Service Game Lead Developer |
(in no particular order)
nightly-test:
only:
- schedules
stage: test
script:
- run_tests.sh
nightly-build:
stage: build
only:
- schedules
script:
- "Unity.exe -projectPath .
-quit
-nographics
-batchmode
-buildWindowsPlayer ./.build/windows"
tags:
- windows
artifacts:
expire_in: 1 week
paths:
- ./.build/windows
nightly-upload:
stage: deploy
only:
- schedules
script:
- upload.sh ./.build/windows
tags:
- fastnet
dependencies:
- nightly-build
stages:
- test
- build
- deploy
nightly-test:
only:
- schedules
stage: test
script:
- run_tests.sh
nightly-build:
stage: build
only:
- schedules
script:
- "Unity.exe -projectPath .
-quit
-nographics
-batchmode
-buildWindowsPlayer ./.build/windows"
tags:
- windows
artifacts:
expire_in: 1 week
paths:
- ./.build/windows
nightly-upload:
stage: deploy
only:
- schedules
script:
- upload.sh ./.build/windows
tags:
- fastnet
dependencies:
- nightly-build
job-branch:
only:
- /^release.*$/
except:
- tags
job-tag:
only:
- /^tag.*$/
except:
- branches
job-only-manual:
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
job-on-variable:
rules:
- if: '$CUSTOM_VARIABLE == "foo"'
hello-world:
stage: chatops
only: [chat]
script:
- echo "Hello World"
manual-prepare:
stage: test
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
script:
- run_tests.sh
manual-build-windows:
stage: build
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
script:
- "Unity.exe -projectPath . -batchmode
-buildWindowsPlayer ./.build/windows"
tags: windows
artifacts:
paths: ./.build/windows
manual-build-android:
stage: build
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
script:
- "Unity.exe -projectPath . -batchmode
-buildTarget Android
tags: windows
artifacts:
paths: ./.build/android
manual-notify:
stage: notify
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
script:
- notify.sh
dependencies:
release-build-all:
stage: build
only:
- /^release.*$/i
except:
- tags
script:
- "Unity.exe -projectPath . -batchmode
-buildTarget Android
- "Unity.exe -projectPath . -batchmode
-buildTarget Windows
tags: windows android
artifacts:
paths: ./.build
release-build-bundles:
stage: build
only:
- /^release.*$/i
except:
- tags
script:
- "Unity.exe -projectPath . -batchmode
-buildTarget Android"
tags: windows
artifacts:
paths: ./.build/android
release-upload:
stage: deploy
only:
- /^release.*$/i
except:
- tags
script:
- upload.sh
dependencies:
- release-build-all
live-build-all:
stage: build
only:
- /^live.*$/i
except:
- branches
script:
- "Unity.exe -projectPath . -batchmode
-buildTarget Android
- "Unity.exe -projectPath . -batchmode
-buildTarget Windows
tags: windows android
artifacts:
paths: ./.build
live-upload:
stage: deploy
only:
- /^live.*$/i
except:
- branches
script:
- upload.sh
dependencies:
- live-build-all
when: manual
allow_failure: false
stages:
- test
- build
- upload
include:
- local: '/manual.yml'
- local: '/release.yml'
- local: '/live.yml'
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "Filip-personal-pc"
url = "https://gitlab.com/yourproject"
token = "ABCDEFGH"
executor = "shell"
shell = "powershell"
output_limit = 12288
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
(usually)