ci: fix missing mktools dependency
arcad/arcast/pipeline/head There was a failure building this commit Details

This commit is contained in:
wpetit 2024-04-26 15:28:24 +02:00
parent d15ce3eabd
commit c077b945bd
2 changed files with 3 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -15,7 +15,7 @@ standardMakePipeline([
# Install utilities
RUN apt-get update -y \
&& apt-get install -y wget curl tar build-essential ca-certificates git openjdk-17-jdk unzip locales jq moreutils
&& apt-get install -y wget git curl tar build-essential ca-certificates git openjdk-17-jdk unzip locales jq moreutils
# Set locale
RUN locale-gen en_US.UTF-8
@ -51,7 +51,7 @@ standardMakePipeline([
'extras;google;google_play_services'
''',
'hooks': [
'pre-release': {
'pre-build': {
sh '''
make .mktools
'''

View File

@ -48,7 +48,7 @@ build-client: deps ## Build executable
-o ./bin/client \
./cmd/client
build-android: tools/gogio/bin/gogio deps ## Build executable
build-android: .mktools tools/gogio/bin/gogio deps ## Build executable
mkdir -p dist
CGO_ENABLED=1 GOOS=android CGO_CFLAGS="-I${JDK_PATH}/include -I${JDK_PATH}/include/linux -w" tools/gogio/bin/gogio -target android -buildmode archive -o android/app/libs/mobile.aar -x ./cmd/mobile
( cd android && VERSION_NAME=$(MKT_PROJECT_VERSION)-debug ./gradlew assembleDebug )