mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 21:36:30 +03:00
chore(ci): use libsasl-dev
This commit is contained in:
committed by
Friedel Ziegelmayer
parent
2e4bc048fb
commit
1a1a0eade8
@@ -1,6 +1,4 @@
|
|||||||
# copied from http://koushiro.me/2019/04/30/Building-and-Testing-Rust-projects-on-CircleCI/
|
# 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
|
version: 2.1
|
||||||
jobs:
|
jobs:
|
||||||
@@ -14,26 +12,15 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Setup build environment (TODO move this to custom docker container)
|
name: Setup build environment
|
||||||
command: |
|
command: |
|
||||||
apt update
|
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
|
# 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;
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain none -y;
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
no_output_timeout: 1800s
|
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:
|
- run:
|
||||||
name: Format
|
name: Format
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
Reference in New Issue
Block a user