libsignal-service-java/.gitlab-ci.yml
2021-10-26 19:34:00 -07:00

41 lines
No EOL
1.1 KiB
YAML

stages:
- build
variables:
version: "v2.15.3_unofficial_31"
GRADLE_OPTS: -Dorg.gradle.daemon=false
.multitarget:
parallel:
matrix:
- TARGET:
- aarch64-unknown-linux-gnu
- arm-unknown-linux-gnueabi
- arm-unknown-linux-gnueabihf
- armv7-unknown-linux-gnueabihf
- x86_64-unknown-linux-gnu
build:
extends: .multitarget
image: gradle:7.2
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
- cd service
- gradle assemble publish
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
- cd service
- ./gradlew assemble publish
variables:
TARGET: x86_64-apple-darwin