futokb/.gitlab-ci.yml

24 lines
779 B
YAML
Raw Permalink Normal View History

2023-08-11 21:03:20 +01:00
default:
image: "docker.io/abb128/android-build:v2@sha256:4e544373291dc0866fcfc03a2894eda7e3c939e3686ddf3c45d933433c49b49a"
2023-08-11 21:03:20 +01:00
2023-08-31 21:00:28 +01:00
variables:
GIT_SUBMODULE_STRATEGY: recursive
2023-08-31 21:01:50 +01:00
GIT_SUBMODULE_FORCE_HTTPS: "true"
2023-08-31 21:00:28 +01:00
2023-08-11 21:03:20 +01:00
stages: # List of stages for jobs, and their order of execution
- build
build:
stage: build
tags:
- docker
script:
2023-08-31 20:48:35 +01:00
- ./setUpPropertiesCI.sh
2023-08-11 21:03:20 +01:00
- gradle assembleRelease -s
2023-08-11 21:32:09 +01:00
- 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"
2023-08-11 21:03:20 +01:00
artifacts:
name: "LatinIME-release-$CI_COMMIT_SHORT_SHA"
paths:
- ./*.apk
when: manual