File tree Expand file tree Collapse file tree 1 file changed +31
-11
lines changed Expand file tree Collapse file tree 1 file changed +31
-11
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
2
dist : bionic
3
3
language : c
4
- install :
5
- - sudo apt-get install -y --force-yes gcc make cmake libglib2.0-dev
6
- - sudo apt-get install -y --force-yes clang
7
- - sudo apt-get install -y --force-yes autoconf automake libtool xutils-dev
8
- - sudo apt-get install -y --force-yes jq
4
+ git :
5
+ submodules : true
6
+ addons :
7
+ apt :
8
+ packages :
9
+ - autoconf
10
+ - automake
11
+ - autotools-dev
12
+ - build-essential
13
+ - clang
14
+ - cmake
15
+ - gcc
16
+ - jq
17
+ - libglib2.0-dev
18
+ - libtool
19
+ - m4
20
+ - make
21
+ - sudo
22
+ - pkg-config
9
23
env :
10
24
matrix :
11
25
- BUILD_TYPE=Debug COMPILER=gcc
12
26
- BUILD_TYPE=Release COMPILER=gcc
13
27
- BUILD_TYPE=Debug COMPILER=clang
14
28
- BUILD_TYPE=Release COMPILER=clang
15
29
before_script :
16
- - set -ex
17
30
- mkdir /tmp/oio
18
- - export CMAKE_OPTS='-DCMAKE_INSTALL_PREFIX=/tmp/ROOT' CC=$COMPILER
19
- - cmake ${CMAKE_OPTS} -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
20
- - make all
21
- - make install
31
+ - export NBPROCS=$(nprocs --ignore=1)
32
+ - cd vendor/libdill
33
+ - ./autogen.sh
34
+ - ./configure --prefix=/usr --enable-shared --disable-static --disable-tls --disable-threads
35
+ - make -j ${NBPROCS} all
36
+ - sudo make install
37
+ - cd -
38
+ - export CC=$COMPILER
39
+ - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=$BUILD_TYPE .
40
+ - make -j ${NBPROC} all
41
+ - sudo make install
22
42
script :
23
43
- set -e
24
- - export PATH="$PATH:/tmp/ROOT/bin" TMPDIR=/tmp
44
+ - export TMPDIR=/tmp
25
45
- ./tools/gridinit-genconf.sh 15
26
46
- gridinit -d -s gridinit /tmp/gridinit/gridinit.conf
27
47
- ./tools/cycle.sh
You can’t perform that action at this time.
0 commit comments