Update .drone.yml
This commit is contained in:
25
.drone.yml
25
.drone.yml
@@ -55,8 +55,8 @@ trigger:
|
|||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: unity-build-tests
|
- name: unity-tests
|
||||||
image: docker.io/library/unity-test-runner:0.1
|
image: docker.io/library/unity-runner:0.1
|
||||||
commands:
|
commands:
|
||||||
- /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_editmode.xml -testPlatform EditMode || true
|
- /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_editmode.xml -testPlatform EditMode || true
|
||||||
- /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_playmode.xml -testPlatform PlayMode || true
|
- /opt/unity/editors/2021.3.19f1/Editor/Unity -runTests -batchmode -nographics -projectPath . -testResults results_playmode.xml -testPlatform PlayMode || true
|
||||||
@@ -64,4 +64,23 @@ steps:
|
|||||||
- name: tests-parser
|
- name: tests-parser
|
||||||
image: docker.io/library/unity-test-parser:0.1
|
image: docker.io/library/unity-test-parser:0.1
|
||||||
commands:
|
commands:
|
||||||
- python /app/unity_test_parser.py results_editmode.xml results_playmode.xml
|
- python /app/unity_test_parser.py results_editmode.xml results_playmode.xml
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: builds
|
||||||
|
type: docker
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: unity-builds
|
||||||
|
image: docker.io/library/unity-runner:0.1
|
||||||
|
commands:
|
||||||
|
- /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildWindowsPlayer WiiSign.exe -quit --headless
|
||||||
|
- /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildLinux64Player WiiSign -quit --headless
|
||||||
|
- /opt/unity/editors/2021.3.19f1/Editor/Unity -batchmode -nographics -projectPath . -buildOSXUniversalPlayer WiiSign.app -quit --headless
|
||||||
|
- curl --request POST --header "PRIVATE-TOKEN: ixKiNbp48zzmP5PF-epo" --form "file=WiiSign.exe" "https://gitlab.ilabt.imec.be/api/v4/projects/4583/uploads"
|
||||||
|
|||||||
Reference in New Issue
Block a user