Commit abb7fac0 authored by CapsLock's avatar CapsLock

Update .gitlab-ci.yml

parent 2b963964
Pipeline #153 failed with stage
in 24 minutes and 54 seconds
......@@ -10,10 +10,17 @@ patch_and_build_signal:
- "wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip" # download android sdk
- "echo '92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9 sdk-tools-linux-4333796.zip' |sha256sum -c"
- "unzip sdk-tools-linux-4333796.zip -d /sdk-tools-linux" # unzip android sdk
- "yes | /sdk-tools-linux/tools/bin/sdkmanager --licenses || true" # to accept licenses
- "export JAVA_OPTS=\"-Xmx3096M\""
- "export GRADLE_OPTS=\"-Dorg.gradle.jvmargs=-Xmx4608M\""
- "export ANDROID_HOME=\"/sdk-tools-linux\"" # set ANDROID_HOME env var
- "yes | /sdk-tools-linux/tools/bin/sdkmanager --licenses || true" # to accept licenses
- "mkdir -p $ANDROID_HOME/licenses/"
# sdkmanager --list
# sdkmanager --install "build-tools;27.0.3" ...
# hashes are available at ~/Android/Sdk/licenses/android-sdk-license
- "echo d56f5187479451eabf01fb78af6dfcb131a6481e > $ANDROID_HOME/licenses/android-sdk-license"
- "echo 8933bad161af4178b1185d1a37fbf41ea5269c55 >> $ANDROID_HOME/licenses/android-sdk-license"
- "git clone https://github.com/WhisperSystems/Signal-Android.git && cd Signal-Android && git checkout v4.31.6" # get signal sources
- "for f in res/values*/strings.xml; do sed -i 's/<string.*name=\"app_name\".*>.*<\\/string>/<string name=\"app_name\">Langis<\\/string>/g' \"$f\"; done" # app rename
- "./gradlew clean" # cleanup
......
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