Working gitlab runner winbuild

This commit is contained in:
Ugljesa Jovanovic 2020-10-21 19:08:00 +02:00
parent 85d36c68bc
commit e284a70923
No known key found for this signature in database
GPG Key ID: 178E6DFCECCB0E0F

View File

@ -73,15 +73,7 @@ buildWindows:
when: manual when: manual
allow_failure: false allow_failure: false
script: script:
- echo "$PWD"
- echo "--------- bash ---------"
- C:\msys64\usr\bin\bash -lc "env"
- C:\msys64\usr\bin\bash -lc "pwd"
- "dir env:"
- echo "$PWD"
- $env:CHERE_INVOKING = 'yes' - $env:CHERE_INVOKING = 'yes'
- C:\msys64\usr\bin\bash -lc "pwd"
- C:\msys64\usr\bin\bash -lc "ls"
- C:\msys64\usr\bin\bash -lc "./windowsBuild-delegated.sh" - C:\msys64\usr\bin\bash -lc "./windowsBuild-delegated.sh"
- C:\msys64\usr\bin\bash -lc "./windowsBuild-pure.sh" - C:\msys64\usr\bin\bash -lc "./windowsBuild-pure.sh"
tags: tags:
@ -90,9 +82,9 @@ buildWindows:
windowsPublishToSnapshot: windowsPublishToSnapshot:
stage: deploy stage: deploy
script: script:
- echo "Deploy---" - $env:CHERE_INVOKING = 'yes'
# - ./windowsBuildAndPublish-delegated.sh - C:\msys64\usr\bin\bash -lc "./windowsBuildAndPublish-delegated.sh"
# - ./windowsBuildAndPublish-pure.sh - C:\msys64\usr\bin\bash -lc "./windowsBuildAndPublish-pure.sh"
rules: rules:
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'
- allow_failure: false - allow_failure: false