commit 65392447fa76ade749330931b845e356ec7b0989
parent 8284359879c5e524acc7cf5395ef06100546ae47
Author: Darren Clarke <darren@redaranj.com>
Date: Thu, 9 Nov 2023 07:10:53 +0100
Use Debian for CI
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/mobile/android/.gitlab-ci.yml b/mobile/android/.gitlab-ci.yml
@@ -1,20 +1,21 @@
stages:
- build
-image: docker:latest
+image: debian:bookworm
variables:
DOCKER_HOST: tcp://localhost:2375/
DOCKER_DRIVER: overlay2
RUST_VERSION: stable
+ CROSS_CONTAINER_IN_CONTAINER: "true"
services:
- name: docker:dind
alias: localhost
before_script:
- - apk update
- - apk add --no-cache curl build-base libgcc bash openssl
+ - apt update
+ - apt install -y curl build-essential gcc bash openssl libssl-dev
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- source $HOME/.cargo/env
- rustup override set $RUST_VERSION
@@ -25,8 +26,6 @@ build_android:
script:
- chmod +x ./mobile/android/build.sh
- /bin/bash ./mobile/android/build.sh
- variables:
- CROSS_CONTAINER_IN_CONTAINER: "true"
artifacts:
paths:
- ./mobile/android/out/