futokb/.gitlab-ci.yml
2024-01-15 21:13:33 +02:00

24 lines
779 B
YAML

default:
image: "docker.io/abb128/android-build:v3@sha256:fc062b587302a66902b2abb463d886b53ec173e157d8297d16b9f00bce4633e7"
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
stages: # List of stages for jobs, and their order of execution
- build
build:
stage: build
tags:
- docker
script:
- ./setUpPropertiesCI.sh
- gradle assembleRelease -s
- mv build/outputs/apk/release/latinime-release.apk ./LatinIME-release-$CI_COMMIT_SHORT_SHA.apk
- ./sendZulipMessage.sh "Alpha Keyboard Build - https://gitlab.futo.org/alex/latinime/-/jobs/$CI_JOB_ID/artifacts/raw/LatinIME-release-$CI_COMMIT_SHORT_SHA.apk"
artifacts:
name: "LatinIME-release-$CI_COMMIT_SHORT_SHA"
paths:
- ./*.apk
when: manual