...
 
Commits (8)
.script-template: &script-template
script:
- cd $CI_JOB_NAME
- ./dependencies.sh
- ./repo.sh
- ./build.sh
ndk-10e:
image: ubuntu:trusty-20170330
<<: *script-template
ndk-18b:
image: ubuntu:trusty-20181115
<<: *script-template
sdk-5.1.1:
image: ubuntu:trusty-20170330
<<: *script-template
sdk-6.0.0:
image: ubuntu:trusty-20170330
<<: *script-template
sdk-6.0.1:
image: ubuntu:trusty-20170330
<<: *script-template
sdk-9.0.0:
image: ubuntu:trusty-20181115
<<: *script-template
sdk_tools-26.1.1:
image: ubuntu:trusty-20181115
<<: *script-template
FROM ubuntu:14.04
FROM ubuntu:trusty-20170330
MAINTAINER Sylvain Beucler <beuc@beuc.net>
COPY dependencies.sh /usr/src/dependencies.sh
RUN /usr/src/dependencies.sh
......
#!/bin/bash
#!/bin/bash -ex
# Configuration
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/00InstallRecommends
......
#!/bin/bash -ex
echo placeholder script to provide same interface as other versions
......@@ -5,8 +5,8 @@
# Preparing build tree
# Make 'repo' accessible to the build system later
export PATH=~/bin:$PATH
repo init -u https://android.googlesource.com/platform/manifest -b ndk-r18b
repo sync --current-branch -j4
repo init --quiet -u https://android.googlesource.com/platform/manifest -b ndk-r18b
repo sync --quiet --current-branch -j4
# Build NDK - proper build
(
......
FROM ubuntu:14.04
FROM ubuntu:trusty-20170330
MAINTAINER Sylvain Beucler <beuc@beuc.net>
COPY dependencies.sh /usr/src/dependencies.sh
RUN /usr/src/dependencies.sh
......
#!/bin/bash
~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-5.1.1_r37
~/bin/repo sync
#!/bin/bash -ex
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-5.1.1_r37
~/bin/repo sync --quiet --current-branch -j4
export USER=$(whoami)
. build/envsetup.sh
......
#!/bin/bash
#!/bin/bash -ex
# Configuration
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/00InstallRecommends
......
#!/bin/bash
#!/bin/bash -ex
#sudo apt-get install curl ca-certificates git python
mkdir ~/bin/
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
......
FROM ubuntu:14.04
FROM ubuntu:trusty-20170330
MAINTAINER Sylvain Beucler <beuc@beuc.net>
COPY dependencies.sh /usr/src/dependencies.sh
RUN /usr/src/dependencies.sh
......
#!/bin/bash
~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.0_r1
~/bin/repo sync
#!/bin/bash -ex
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-6.0.0_r1
~/bin/repo sync --quiet --current-branch -j4
export USER=$(whoami)
. build/envsetup.sh
......
#!/bin/bash
#!/bin/bash -ex
# Configuration
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/00InstallRecommends
......
#!/bin/bash
#!/bin/bash -ex
#sudo apt-get install curl ca-certificates git python
mkdir ~/bin/
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
......
#!/bin/bash -ex
~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r31
~/bin/repo sync
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r31
~/bin/repo sync --quiet --current-branch -j4
# out/host/linux-x86/bin/jack-admin: line 27: USER: unbound variable
export USER=$(whoami)
......
#!/bin/bash -ex
~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r18
~/bin/repo sync --current-branch -j4
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b android-9.0.0_r18
~/bin/repo sync --quiet --current-branch -j4
# Still needed?
export USER=$(whoami)
......
......@@ -24,9 +24,9 @@ export DEBIAN_FRONTEND=noninteractive
# OpenJDK 8 N/A
#apt-get -y install openjdk-8-jdk
apt-get -y install wget
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u45-b14-1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre_8u45-b14-1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u45-b14-1_amd64.deb
checksumfile=$(mktemp)
cat <<'EOF' > $checksumfile
0f5aba8db39088283b51e00054813063173a4d8809f70033976f83e214ab56c0 openjdk-8-jre-headless_8u45-b14-1_amd64.deb
......
#!/bin/bash -ex
# https://android.googlesource.com/platform/tools/base/+/studio-master-dev/source.md
~/bin/repo init -u https://android.googlesource.com/platform/manifest -b studio-3.2.1
~/bin/repo sync --current-branch -j4
~/bin/repo init --quiet -u https://android.googlesource.com/platform/manifest -b studio-3.2.1
~/bin/repo sync --quiet --current-branch -j4
# Needed?
export USER=$(whoami)
......
......@@ -24,9 +24,9 @@ export DEBIAN_FRONTEND=noninteractive
# OpenJDK 8 N/A
#apt-get -y install openjdk-8-jdk
apt-get -y install wget
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u45-b14-1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre_8u45-b14-1_amd64.deb
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jre_8u45-b14-1_amd64.deb
wget --quiet http://old-releases.ubuntu.com/ubuntu/pool/universe/o/openjdk-8/openjdk-8-jdk_8u45-b14-1_amd64.deb
checksumfile=$(mktemp)
cat <<'EOF' > $checksumfile
0f5aba8db39088283b51e00054813063173a4d8809f70033976f83e214ab56c0 openjdk-8-jre-headless_8u45-b14-1_amd64.deb
......