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

42 lines
1.1 KiB
YAML
Raw Normal View History

2021-10-27 01:01:41 +00:00
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
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
- cd service
- gradle assemble publish
build x86_64-apple-darwin:
2021-10-27 02:32:14 +00:00
image: gradle:7.2
2021-10-27 01:01:41 +00:00
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
- gradle assemble publish
variables:
TARGET: x86_64-apple-darwin