gitlab ci: disable caching

Should be superseded by https://github.com/termux/termux-packages/pull/3276.
This commit is contained in:
Leonid Pliushch 2019-02-10 22:02:34 +02:00
parent c39dfb60ac
commit 77f9b07ba6

View File

@ -8,11 +8,7 @@ stages:
- build - build
- deploy - deploy
## Use custom install directory (/data) so we will be
## able to cache it.
before_script: before_script:
- mkdir -p ./build-data/data/com.termux/files/usr
- mount --bind ./build-data /data
- cp -a /home/builder/.android $HOME/.android - cp -a /home/builder/.android $HOME/.android
- chown -R $(id -u):$(id -g) $HOME/.android - chown -R $(id -u):$(id -g) $HOME/.android
@ -38,37 +34,21 @@ build-aarch64:
<<: *build_job <<: *build_job
variables: variables:
TERMUX_ARCH: aarch64 TERMUX_ARCH: aarch64
cache:
key: aarch64-data
paths:
- build-data
## Building packages for ARM. ## Building packages for ARM.
build-arm: build-arm:
<<: *build_job <<: *build_job
variables: variables:
TERMUX_ARCH: arm TERMUX_ARCH: arm
cache:
key: arm-data
paths:
- build-data
## Building packages for i686. ## Building packages for i686.
build-i686: build-i686:
<<: *build_job <<: *build_job
variables: variables:
TERMUX_ARCH: i686 TERMUX_ARCH: i686
cache:
key: i686-data
paths:
- build-data
## Building packages for x86_64. ## Building packages for x86_64.
build-x86_64: build-x86_64:
<<: *build_job <<: *build_job
variables: variables:
TERMUX_ARCH: x86_64 TERMUX_ARCH: x86_64
cache:
key: x86_64-data
paths:
- build-data