mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
Add appveyor.yml
This commit is contained in:
parent
6af9d35edc
commit
b69455d560
2 changed files with 12 additions and 8 deletions
9
appveyor.yml
Normal file
9
appveyor.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
image: Ubuntu1804
|
||||
|
||||
version: 1.0.{build}
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
build_script:
|
||||
- docker run -v `pwd`:/build mujx/construct-ci:18.04 /bin/bash -c "./autogen.sh && ./configure --enable-debug && make"
|
|
@ -6,7 +6,7 @@ RUN \
|
|||
add-apt-repository -y ppa:mhier/libboost-latest && \
|
||||
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
apt-get install --no-install-recommends -y \
|
||||
autoconf \
|
||||
autoconf-archive \
|
||||
autoconf2.13 \
|
||||
|
@ -18,22 +18,17 @@ RUN \
|
|||
curl \
|
||||
g++-8 \
|
||||
gcc-8 \
|
||||
git \
|
||||
libbz2-dev \
|
||||
libgflags-dev \
|
||||
libjemalloc-dev \
|
||||
libmagic-dev \
|
||||
libsnappy-dev \
|
||||
libsodium-dev \
|
||||
libssl1.0-dev \
|
||||
libtool \
|
||||
libzstd-dev \
|
||||
openssl \
|
||||
shtool \
|
||||
xz-utils \
|
||||
zlib1g-dev
|
||||
|
||||
RUN \
|
||||
zlib1g-dev && \
|
||||
apt-get clean && \
|
||||
apt-get autoremove --purge -y
|
||||
|
||||
|
@ -50,7 +45,7 @@ RUN \
|
|||
-DWITH_TESTS=0 \
|
||||
-DWITH_TOOLS=0 \
|
||||
-DUSE_RTTI=1 \
|
||||
-DWITH_JEMALLOC=1 \
|
||||
-DWITH_ZLIB=1 \
|
||||
-DWITH_SNAPPY=1 \
|
||||
-DBUILD_SHARED_LIBS=1 && \
|
||||
cmake --build build --target install && \
|
||||
|
|
Loading…
Add table
Reference in a new issue