Skip to content

Commit

Permalink
Revert "run only android or ios debug builds [android-test] [ios-test]"
Browse files Browse the repository at this point in the history
This reverts commit 20ba801.
  • Loading branch information
greenaddress committed Dec 11, 2019
1 parent ea4cbd3 commit ca8349e
Showing 1 changed file with 7 additions and 94 deletions.
101 changes: 7 additions & 94 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,10 @@ stages:
image: greenaddress/fedora_ci@sha256:120c1da342ed28f6b03d87e27d407407f6533d6836a0c3342634a6a46e15fc41
tags:
- ga
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/

.ndk_release:
tags:
- ga
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
expire_in: 1 day
when: on_success
paths:
- gdk-android-jni

.ndk_debug:
tags:
- ga
only:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
expire_in: 1 day
Expand All @@ -50,10 +29,6 @@ stages:
.osx_test:
tags:
- osx
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
cache:
key: "$CI_JOB_NAME"
paths:
Expand All @@ -62,10 +37,6 @@ stages:
.py_release:
tags:
- ga
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
before_script:
- mkdir $CI_PROJECT_DIR/gdk-python
artifacts:
Expand All @@ -86,21 +57,6 @@ stages:
paths:
- gdk-iphone

.ios_debug:
tags:
- osx
only:
variables:
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
before_script:
- mkdir $CI_PROJECT_DIR/gdk-iphone
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA"
expire_in: 1 day
when: on_success
paths:
- gdk-iphone

test_format:
tags:
- ga
Expand All @@ -111,10 +67,6 @@ test_format:
test_gcc:
tags:
- ga
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
script:
- ./tools/build.sh --gcc

Expand Down Expand Up @@ -164,10 +116,6 @@ test_fedora_clang:
test_clang:
tags:
- ga
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
script:
- ./tools/build.sh --clang

Expand All @@ -183,6 +131,13 @@ gdk_clang_ndk_arm64-v8a:
- mkdir gdk-android-jni
- ANDROID_NDK=/android-ndk-r20b ./tools/build.sh --install $PWD/gdk-android-jni --ndk arm64-v8a --lto=true

gdk_clang_ndk_arm64-v8a-debug:
extends: .ndk_release
when: manual
script:
- mkdir gdk-android-jni
- ANDROID_NDK=/android-ndk-r20b ./tools/build.sh --buildtype=debug --install $PWD/gdk-android-jni --ndk arm64-v8a --lto=true

gdk_clang_ndk_x86:
extends: .ndk_release
script:
Expand All @@ -195,18 +150,6 @@ gdk_clang_ndk_x86_64:
- mkdir gdk-android-jni
- ANDROID_NDK=/android-ndk-r20b ./tools/build.sh --install $PWD/gdk-android-jni --ndk x86_64 --lto=true

gdk_clang_ndk_arm64-v8a-debug:
extends: .ndk_debug
script:
- mkdir gdk-android-jni
- ANDROID_NDK=/android-ndk-r20b ./tools/build.sh --buildtype=debug --install $PWD/gdk-android-jni --ndk arm64-v8a --lto=true

gdk_clang_ndk_x86:
extends: .ndk_debug
script:
- mkdir gdk-android-jni
- ANDROID_NDK=/android-ndk-r20b ./tools/build.sh buildtype=debug --install $PWD/gdk-android-jni --ndk x86 --lto=true

test_osx_clang:
extends: .osx_test
script:
Expand All @@ -228,20 +171,6 @@ release_osx_ios_sim:
- ./tools/clean.sh dirs
- ./tools/build.sh --iphonesim static --lto=true --install $PWD/gdk-iphone

debug_osx_ios:
extends: .ios_debug
script:
- cd $CI_PROJECT_DIR
- ./tools/clean.sh dirs
- ./tools/build.sh --buildtype=debug --iphone static --lto=true --install $PWD/gdk-iphone

debug_osx_ios_sim:
extends: .ios_debug
script:
- cd $CI_PROJECT_DIR
- ./tools/clean.sh dirs
- ./tools/build.sh --buildtype=debug --iphonesim static --lto=true --install $PWD/gdk-iphone

test_osx_clang_ndk_armeabi-v7a:
only:
refs:
Expand Down Expand Up @@ -285,21 +214,13 @@ test_osx_clang_ndk_x86_64:
test_freebsd_gcc:
tags:
- freebsd
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
script:
- cd $CI_PROJECT_DIR
- ./tools/build.sh --gcc

test_freebsd_clang:
tags:
- freebsd
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
before_script:
- export PATH="/usr/local/llvm60/bin:$PATH"
script:
Expand All @@ -309,10 +230,6 @@ test_freebsd_clang:
test_windows_mingw_w64_cross:
tags:
- ga
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
artifacts:
expire_in: 1 hour
when: on_success
Expand Down Expand Up @@ -340,10 +257,6 @@ apidocs:
package_release:
tags:
- garelease
except:
variables:
- $CI_COMMIT_MESSAGE =~ /[android-test]/
- $CI_COMMIT_MESSAGE =~ /[ios-test]/
stage: deploy
artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_SHORT_SHA"
Expand Down

0 comments on commit ca8349e

Please sign in to comment.