summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-10-08 19:56:08 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-10-08 19:56:08 +0200
commite7cfeb4e3ae59e84bd316f75c52c40399503a954 (patch)
tree9c19c25a8f30044f70dd988021c7e09824a3d749
parent34a7f90c0b57f40589981e50856da1fb773d27d8 (diff)
Remove circleci config
-rw-r--r--.circleci/config.yml47
-rw-r--r--.circleci/images/rust-libical3-kcov/Dockerfile32
-rw-r--r--.circleci/images/rust-libical3/Dockerfile45
3 files changed, 0 insertions, 124 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
deleted file mode 100644
index 782d19d..0000000
--- a/.circleci/config.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-version: 2
-jobs:
- test:
- docker:
- - image: puzzlewolf/rust-libical3:0.7
- working_directory: /mnt/crate
- steps:
- - checkout
- - restore_cache:
- keys:
- - cargo-v2-{{ checksum "Cargo.toml" }}-
- - cargo-v2-
- - run: cargo update
- - run: cargo fetch
- - persist_to_workspace:
- root: "."
- paths:
- - Cargo.lock
- - save_cache:
- key: cargo-v2-{{ checksum "Cargo.toml" }}-{{ checksum "Cargo.lock" }}
- paths:
- - ~/.cargo/registry
- - ~/.cargo/git
- - run:
- name: Print version information
- command: rustc --version; cargo --version
- - run:
- name: Build and test
- command: cargo test --verbose --frozen
- environment:
- # Need this for the coverage run
- RUSTFLAGS: "-C link-dead-code"
- - run:
- name: Prune the output files
- command: |
- for file in target/debug/* target/debug/.??*; do
- [ -d $file -o ! -x $file ] && rm -r $file
- done
- - persist_to_workspace:
- root: "."
- paths:
- - target/debug/*
-workflows:
- version: 2
- test_all:
- jobs:
- - test
diff --git a/.circleci/images/rust-libical3-kcov/Dockerfile b/.circleci/images/rust-libical3-kcov/Dockerfile
deleted file mode 100644
index d9e9bb4..0000000
--- a/.circleci/images/rust-libical3-kcov/Dockerfile
+++ /dev/null
@@ -1,32 +0,0 @@
-#FROM debian:buster
-FROM puzzlewolf/rust-libical3:0.7
-
-ARG KCOV_GIT_REF
-
-RUN apt-get update
-# install pkg-config deliberately separate since it sometimes fails :( If it eventually
-# is installed we do not repeat the whole image build.
-#RUN apt-get install -y --fix-missing pkg-config
-RUN apt-get install -y wget libcurl4-openssl-dev libelf-dev libdw-dev cmake cmake-data g++ binutils-dev \
- libiberty-dev
-#RUN apt-get install -y libical-dev
-
-ENV SRC_DIR=/home/kcov-src \
- URL_GIT_KCOV=https://github.com/SimonKagstrom/kcov.git
-
-RUN git clone $URL_GIT_KCOV $SRC_DIR; \
- cd $SRC_DIR; \
- # default to latest tagged version
- DEFAULT_KCOV_GIT_REF=$(git tag --list | grep "^v[0-9]\+$" | sort -V | tail --lines 1); \
- KCOV_GIT_REF=${KCOV_GIT_REF:-$DEFAULT_KCOV_GIT_REF}; \
- git reset --hard $KCOV_GIT_REF;
-
-RUN cd $SRC_DIR && \
- mkdir build && \
- cd build && \
- cmake .. && \
- make && \
- make install
-
-ENTRYPOINT ["kcov"]
-CMD ["--help"]
diff --git a/.circleci/images/rust-libical3/Dockerfile b/.circleci/images/rust-libical3/Dockerfile
deleted file mode 100644
index ff4e1d9..0000000
--- a/.circleci/images/rust-libical3/Dockerfile
+++ /dev/null
@@ -1,45 +0,0 @@
-FROM buildpack-deps:buster
-
-# Some of the dependencies I need to build a few libraries,
-# personalize to your needs. You can use multi-stage builds
-# to produce a lightweight image.
-#RUN apt-get update && \
-# apt-get install -y curl file gcc g++ git make openssh-client \
-# autoconf automake cmake libtool libcurl4-openssl-dev libssl-dev \
-# libelf-dev libdw-dev binutils-dev zlib1g-dev libiberty-dev wget \
-# xz-utils pkg-config python
-
-RUN apt-get update && \
- apt-get install -y libical-dev clang
-
-#ENV KCOV_VERSION 33
-#RUN wget https://github.com/SimonKagstrom/kcov/archive/v$KCOV_VERSION.tar.gz && \
-# tar xzf v$KCOV_VERSION.tar.gz && \
-# rm v$KCOV_VERSION.tar.gz && \
-# cd kcov-$KCOV_VERSION && \
-# mkdir build && cd build && \
-# cmake .. && make && make install && \
-# cd ../.. && rm -rf kcov-$KCOV_VERSION
-
-#RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
-RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
-
-ENV PATH "$PATH:/root/.cargo/bin"
-#ENV RUSTFLAGS "-C link-dead-code"
-#ENV CFG_RELEASE_CHANNEL "nightly"
-
-#RUN rustup update && \
-# rustup install nightly && \
-# rustup default nightly
-
-#ENV RUSTFMT_VERSION 0.3.1
-#RUN wget https://github.com/rust-lang-nursery/rustfmt/archive/${RUSTFMT_VERSION}.tar.gz && \
-# tar xzf ${RUSTFMT_VERSION}.tar.gz && rm ${RUSTFMT_VERSION}.tar.gz && \
-# cd rustfmt-${RUSTFMT_VERSION} && \
-# $HOME/.cargo/bin/cargo install --path . && \
-# cd .. && rm -rf rustfmt-${RUSTFMT_VERSION}
-
-#RUN bash -l -c 'echo $(rustc --print sysroot)/lib >> /etc/ld.so.conf'
-#RUN bash -l -c 'echo /usr/local/lib >> /etc/ld.so.conf'
-#RUN ldconfig
-#EXEC bash