36 lines
No EOL
1 KiB
YAML
36 lines
No EOL
1 KiB
YAML
stages:
|
|
- build
|
|
|
|
variables:
|
|
version: "v2.15.3_unofficial_32"
|
|
GRADLE_OPTS: -Dorg.gradle.daemon=false
|
|
|
|
build:
|
|
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
|
|
- gradle assemble publish
|
|
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 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
|
|
- ./gradlew assemble publish
|
|
variables:
|
|
TARGET: x86_64-apple-darwin |