Commit c5f2b737 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#857 updated gitlab-ci configuration to build desktop artifacts on [master, devel, tags] only

parent bfa76aeb
......@@ -17,6 +17,7 @@ before_script:
- git submodule update --init --recursive
stages:
- build
- build-desktop
- unitTest
- iTest-desktop
debug:
......@@ -24,15 +25,14 @@ debug:
except:
- release
script:
- ./gradlew clean assemble -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew clean
- ./gradlew android:assemble -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew ios:assemble
artifacts:
expire_in: 2 weeks
paths:
- android/build/outputs/apk/*debug*.apk
- android/build/outputs/apk/*iTest*.apk
- desktop/build/libs/*debug*.jar
- desktop/build/libs/*iTest*.jar
- desktop/build/libs/*debug*.deb
- desktop/build/outputs/*debug*.exe
- ios/build/robovm/*debug*.ipa
- ios/build/robovm/*iTest*.ipa
unitTest:
......@@ -56,19 +56,33 @@ release:
only:
- tags
script:
- ./gradlew clean assemble -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew clean
- ./gradlew android:assemble
- ./gradlew ios:assemble -PTABLEXIA_ASSETS_UPLOAD=true
artifacts:
paths:
- android/build/outputs/apk/*debug*.apk
- android/build/outputs/apk/*iTest*.apk
- android/build/outputs/apk/*release*.apk
- ios/build/robovm/*debug*.ipa
- ios/build/robovm/*iTest*.ipa
- ios/build/robovm/*release*.ipa
desktop:
stage: build-desktop
only:
- tags
- master
- devel
- 857-gitlab-ci-build
script:
- ./gradlew desktop:assemble
artifacts:
paths:
- desktop/build/libs/*debug*.jar
- desktop/build/libs/*iTest*.jar
- desktop/build/libs/*release*.jar
- desktop/build/libs/*debug*.deb
- desktop/build/libs/*release*.deb
- desktop/build/outputs/*debug*.exe
- desktop/build/outputs/*release*.exe
- ios/build/robovm/*debug*.ipa
- ios/build/robovm/*iTest*.ipa
- ios/build/robovm/*release*.ipa
\ No newline at end of file
- desktop/build/outputs/*release*.exe
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment