libsignal-service-java/.gitlab-ci.yml

36 lines
1 KiB
YAML
Raw Normal View History

2021-10-27 01:01:41 +00:00
stages:
- build
variables:
version: "v2.15.3_unofficial_34"
2021-10-27 01:01:41 +00:00
GRADLE_OPTS: -Dorg.gradle.daemon=false
build:
2021-10-27 02:32:14 +00:00
image: gradle:7.2
2021-10-27 01:01:41 +00:00
stage: build
script:
- git clone https://github.com/Turasa/libsignal-service-java
- cd libsignal-service-java && git checkout "$version"
- git config user.email nobody@signald.org && git config user.name signald
- git am ../libsignal-service-java.patch
- gradle assemble publish
2021-10-27 02:46:14 +00:00
parallel:
matrix:
- TARGET:
- aarch64-unknown-linux-gnu
- arm-unknown-linux-gnueabi
- arm-unknown-linux-gnueabihf
- armv7-unknown-linux-gnueabihf
- x86_64-unknown-linux-gnu
2021-10-27 01:01:41 +00:00
build x86_64-apple-darwin:
stage: build
tags: [darwin-builder]
script:
- git clone https://github.com/Turasa/libsignal-service-java
- cd libsignal-service-java && git checkout "$version"
- git config user.email nobody@signald.org && git config user.name signald
- git am ../libsignal-service-java.patch
2021-10-27 02:34:00 +00:00
- ./gradlew assemble publish
2021-10-27 01:01:41 +00:00
variables:
TARGET: x86_64-apple-darwin