From 1a1a0eade8681c769c2e4f9753aaa6072e83b338 Mon Sep 17 00:00:00 2001 From: Lars-Magnus Skog Date: Thu, 2 May 2019 22:19:17 +0200 Subject: [PATCH] chore(ci): use libsasl-dev --- .circleci/config.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ca6cf7fa6..da59488e9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,4 @@ # copied from http://koushiro.me/2019/04/30/Building-and-Testing-Rust-projects-on-CircleCI/ -# TODO remove things that aren't needed for apt -# TODO might want to create our own docker image for this and get rid of apt stuff version: 2.1 jobs: @@ -14,26 +12,15 @@ jobs: - checkout - run: - name: Setup build environment (TODO move this to custom docker container) + name: Setup build environment command: | apt update - apt install -y sudo curl build-essential git pkg-config zlib1g-dev python libssl-dev autoconf libtool libetpan-dev + apt install -y curl build-essential autoconf libtool git python pkg-config zlib1g-dev libssl-dev libetpan-dev libsasl2-dev # this will pick default toolchain from `rust-toolchain` file curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain none -y; source $HOME/.cargo/env no_output_timeout: 1800s - - run: - name: build sasl2 (TODO move this to custom docker container) - command: | - curl -O https://www.cyrusimap.org/releases/cyrus-sasl-2.1.27.tar.gz - tar zxf cyrus-sasl-2.1.27.tar.gz - cd cyrus-sasl-2.1.27 - ./configure --enable-shared --disable-cmulocal --disable-sample --disable-obsolete_cram_attr --disable-obsolete_digest_attr --disable-alwaystrue --enable-checkapop --enable-cram --enable-digest --enable-scram --enable-plain --enable-anon --enable-login - make -j $(nproc) - sudo make install - sudo ldconfig -v - - run: name: Format command: |