Update .drone.yml

This commit is contained in:
Victor Mylle
2023-03-11 15:13:55 +00:00
parent 7c6a5b8fe5
commit 3ea40e0717

View File

@@ -18,34 +18,3 @@ steps:
image: docker.io/library/unity-test-parser:0.1
commands:
- 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 WeSign.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
- name: commit-files
image: alpine/git
environment:
GIT_AUTHOR_NAME: DroneCI
GIT_AUTHOR_EMAIL: droneci@wesign.com
GIT_COMMITTER_NAME: DroneCI
GIT_COMMITTER_EMAIL: droneci@wesign.com
commands:
- git config --global user.name "DroneCI"
- git config --global user.email "droneci@wesign.com"
- git add WeSign.exe
- git commit -m "Add build files [skip ci]"
- git push https://oauth2:ixKiNbp48zzmP5PF-epo@gitlab.ilabt.imec.be/wesign/unity-application/