Commit b4aedb47 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#857 rollback to 3 stage pipeline

parent c5f2b737
......@@ -17,24 +17,40 @@ before_script:
- git submodule update --init --recursive
stages:
- build
- build-desktop
- unitTest
- iTest-desktop
debug:
stage: build
except:
- release
only:
- master
- devel
script:
- ./gradlew clean
- ./gradlew android:assemble -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew ios:assemble
- ./gradlew clean assemble -PTABLEXIA_ASSETS_UPLOAD=true
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
devel:
stage: build
except:
- debug
- release
script:
- ./gradlew clean
- ./gradlew android:assemble
- ./gradlew ios:assemble
artifacts:
paths:
- android/build/outputs/apk/*debug*.apk
- android/build/outputs/apk/*iTest*.apk
- ios/build/robovm/*debug*.ipa
- ios/build/robovm/*iTest*.ipa
unitTest:
stage: unitTest
script:
......@@ -56,33 +72,19 @@ release:
only:
- tags
script:
- ./gradlew clean
- ./gradlew android:assemble
- ./gradlew ios:assemble -PTABLEXIA_ASSETS_UPLOAD=true
- ./gradlew clean 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
\ No newline at end of file
- 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
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