diff options
| author | Steven Fackler <[email protected]> | 2017-08-10 19:58:07 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-08-10 19:58:07 -0700 |
| commit | 4bf369c48b0ae04f2f0bb5ccb48f19309226aec2 (patch) | |
| tree | d9d12c4dded4e7a50c54340bad967513d6bd73f9 /circle.yml | |
| parent | Switch to official circle image (diff) | |
| download | rust-openssl-4bf369c48b0ae04f2f0bb5ccb48f19309226aec2.tar.xz rust-openssl-4bf369c48b0ae04f2f0bb5ccb48f19309226aec2.zip | |
Move circle config to new location
Diffstat (limited to 'circle.yml')
| -rw-r--r-- | circle.yml | 160 |
1 files changed, 0 insertions, 160 deletions
diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 8b865ed2..00000000 --- a/circle.yml +++ /dev/null @@ -1,160 +0,0 @@ -restore_registry: &RESTORE_REGISTRY - restore_cache: - key: registry -save_registry: &SAVE_REGISTRY - save_cache: - key: registry-{{ .BuildNum }} - paths: - - /usr/local/cargo/registry/index -openssl_key: &OPENSSL_KEY - key: lib-{{ checksum "~/lib_key" }}-{{ checksum "test/build_openssl.sh" }} -restore_openssl: &RESTORE_OPENSSL - restore_cache: - <<: *OPENSSL_KEY -save_openssl: &SAVE_OPENSSL - save_cache: - <<: *OPENSSL_KEY - paths: - - /openssl -deps_key: &DEPS_KEY - key: deps-1.19.0-{{ checksum "Cargo.lock" }}-{{ checksum "~/lib_key" }}-2 -restore_deps: &RESTORE_DEPS - restore_cache: - <<: *DEPS_KEY -save_deps: &SAVE_DEPS - save_cache: - <<: *DEPS_KEY - paths: - - target - - /usr/local/cargo/registry/cache - -job: &JOB - working_directory: ~/build - docker: - - image: rust:1.19.0 - steps: - - checkout - - run: apt-get update - - run: ./test/add_target.sh - - <<: *RESTORE_REGISTRY - - run: cargo generate-lockfile - - <<: *RESTORE_REGISTRY - - run: echo "${LIBRARY}-${VERSION}-${TARGET}" > ~/lib_key - - <<: *RESTORE_OPENSSL - - run: ./test/build_openssl.sh - - <<: *SAVE_OPENSSL - - <<: *RESTORE_DEPS - - run: cargo run --manifest-path=systest/Cargo.toml --target $TARGET - - run: | - ulimit -c unlimited - export PATH=$OPENSSL_DIR/bin:$PATH - if [ "${NO_RUN}" = "1" ]; then - TEST_ARGS=--no-run - fi - cargo test \ - --manifest-path=openssl/Cargo.toml \ - --target $TARGET \ - --all-features \ - $TEST_ARGS - - run: - command: | - mkdir -p /tmp/core_dumps - find . -name "core.*" -exec cp \{\} /tmp/core_dumps \; - cp target/$TARGET/debug/openssl-* /tmp/core_dumps - when: on_fail - - store_artifacts: - path: /tmp/core_dumps - - <<: *SAVE_DEPS - -openssl_110: &OPENSSL_110 - LIBRARY: openssl - VERSION: 1.1.0f -openssl_102: &OPENSSL_102 - LIBRARY: openssl - VERSION: 1.0.2l -openssl_101: &OPENSSL_101 - LIBRARY: openssl - VERSION: 1.0.1u -libressl_250: &LIBRESSL_250 - LIBRARY: libressl - VERSION: 2.5.0 -libressl_260: &LIBRESSL_260 - LIBRARY: libressl - VERSION: 2.6.0 - -x86_64: &X86_64 - TARGET: x86_64-unknown-linux-gnu -i686: &I686 - TARGET: i686-unknown-linux-gnu -armhf: &ARMHF - TARGET: arm-unknown-linux-gnueabihf - NO_RUN: 1 - CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc - CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_AR: arm-linux-gnueabihf-ar - CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_RUNNER: qemu-arm-static - -base: &BASE - RUST_BACKTRACE: 1 - OPENSSL_DIR: /openssl - -version: 2 -jobs: - x86_64-openssl-1.1.0: - <<: *JOB - environment: - <<: [*OPENSSL_110, *X86_64, *BASE] - x86_64-openssl-1.0.2: - <<: *JOB - environment: - <<: [*OPENSSL_102, *X86_64, *BASE] - x86_64-openssl-1.0.1: - <<: *JOB - environment: - <<: [*OPENSSL_101, *X86_64, *BASE] - i686-openssl-1.1.0: - <<: *JOB - environment: - <<: [*OPENSSL_110, *I686, *BASE] - i686-openssl-1.0.2: - <<: *JOB - environment: - <<: [*OPENSSL_102, *I686, *BASE] - i686-openssl-1.0.1: - <<: *JOB - environment: - <<: [*OPENSSL_101, *I686, *BASE] - armhf-openssl-1.1.0: - <<: *JOB - environment: - <<: [*OPENSSL_110, *ARMHF, *BASE] - armhf-openssl-1.0.2: - <<: *JOB - environment: - <<: [*OPENSSL_102, *ARMHF, *BASE] - armhf-openssl-1.0.1: - <<: *JOB - environment: - <<: [*OPENSSL_101, *ARMHF, *BASE] - x86_64-libressl-2.5.0: - <<: *JOB - environment: - <<: [*LIBRESSL_250, *X86_64, *BASE] - x86_64-libressl-2.6.0: - <<: *JOB - environment: - <<: [*LIBRESSL_260, *X86_64, *BASE] -workflows: - version: 2 - tests: - jobs: - - x86_64-openssl-1.1.0 - - x86_64-openssl-1.0.2 - - x86_64-openssl-1.0.1 - - i686-openssl-1.1.0 - - i686-openssl-1.0.2 - - i686-openssl-1.0.1 - - armhf-openssl-1.1.0 - - armhf-openssl-1.0.2 - - armhf-openssl-1.0.1 - - x86_64-libressl-2.5.0 - - x86_64-libressl-2.6.0 |