mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 07:53:31 +01:00
add circle.yml
This commit is contained in:
parent
30b5b53163
commit
48f2d97ab8
5
ci/config.sh
Executable file
5
ci/config.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
set -x
|
||||||
|
set -e
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
../ci/cmake/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=/tmp/encfs -DCMAKE_BUILD_TYPE=Debug ..
|
7
ci/install-cmake.sh
Executable file
7
ci/install-cmake.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
set -x
|
||||||
|
set -e
|
||||||
|
if [ ! -e ci/cmake/bin/cmake ]; then
|
||||||
|
wget http://www.cmake.org/files/v3.1/cmake-3.1.3-Linux-x86_64.tar.gz
|
||||||
|
tar -xzf cmake-3.1.3-Linux-x86_64.tar.gz
|
||||||
|
mv cmake-3.1.3-Linux-x86_64 ci/cmake
|
||||||
|
fi
|
5
ci/install-gcc.sh
Executable file
5
ci/install-gcc.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
set -x
|
||||||
|
set -e
|
||||||
|
sudo apt-get install -y gcc-4.8 g++-4.8
|
||||||
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100
|
||||||
|
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 100
|
18
circle.yml
Normal file
18
circle.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
machine:
|
||||||
|
timezone:
|
||||||
|
America/Los_Angeles
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
pre:
|
||||||
|
- sudo apt-get update
|
||||||
|
- sudo apt-get install cmake libfuse-dev librlog-dev libgettextpo-dev
|
||||||
|
- bash ./ci/install-gcc.sh
|
||||||
|
- bash ./ci/install-cmake.sh
|
||||||
|
cache_directories:
|
||||||
|
- "ci/cmake"
|
||||||
|
|
||||||
|
test:
|
||||||
|
override:
|
||||||
|
- bash ./ci/config.sh
|
||||||
|
- cd build && make && make test && make install
|
||||||
|
- /tmp/encfs/bin/encfsctl --version
|
Loading…
Reference in New Issue
Block a user