browserocto/.gitlab-ci.yml

23 lines
645 B
YAML

image: openjdk:18-jdk-bullseye
before_script:
- apt --quiet update --yes
- apt --quiet install --yes wget tar unzip perl p7zip-full imagemagick pngquant
BleedingEdge:
interruptible: true
stage: build
script: |
StartDir="$(pwd)"
mkdir -p ../AndroidSdk
cd ../AndroidSdk
wget -O BuildTools.zip https://dl.google.com/android/repository/build-tools_r30.0.3-linux.zip
wget -O Platform.zip https://dl.google.com/android/repository/platform-30_r03.zip
yes A | unzip BuildTools.zip || true
yes A | unzip Platform.zip || true
cd "$StartDir"
sh ./tools/Build.sh
artifacts:
paths:
- build/app.apk