# TODO: Create a small custom docker image with all the dependencies we need
# preinstalled to reduce installation time.
docker:
- - image: circleci/buildpack-deps:bionic
+ - image: fbopensource/zstd-circleci-primary:0.0.1
steps:
- checkout
- - *install-dependencies
- run:
name: Test
command: |
# the second half of the jobs are in this test
short-tests-1:
docker:
- - image: circleci/buildpack-deps:bionic
+ - image: fbopensource/zstd-circleci-primary:0.0.1
steps:
- checkout
- - *install-dependencies
- run:
name: Test
command: |
# tagged release.
publish-github-release:
docker:
- - image: circleci/buildpack-deps:bionic
+ - image: fbopensource/zstd-circleci-primary:0.0.1
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
steps:
- checkout
- - *install-dependencies
- run:
name: Publish
command: |
# This step should only be run in a cron job
regression-test:
docker:
- - image: circleci/buildpack-deps:bionic
+ - image: fbopensource/zstd-circleci-primary:0.0.1
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
steps:
- checkout
- - *install-dependencies
# Restore the cached resources.
- restore_cache:
# We try our best to bust the cache when the data changes by hashing
--- /dev/null
+FROM circleci/buildpack-deps:bionic
+
+RUN sudo dpkg --add-architecture i386
+RUN sudo apt-get -y -qq update
+RUN sudo apt-get -y install \
+ gcc-multilib-powerpc-linux-gnu gcc-arm-linux-gnueabi \
+ libc6-dev-armel-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross \
+ libc6-dev-ppc64-powerpc-cross zstd gzip coreutils \
+ libcurl4-openssl-dev