-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
config.yml
61 lines (61 loc) · 3.02 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 2
jobs:
build:
working_directory: /tmp/project/nelson
docker:
- image: archlinux/base:latest
environment:
DISPLAY: ""
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
steps:
- run: patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && bsdtar -C / -xvf "$patched_glibc"
- run: pacman -Syu --noconfirm
- run: pacman -S base-devel --noconfirm
- run: pacman -S inetutils --noconfirm
- run: pacman -S gawk --noconfirm
- run: pacman -S m4 --noconfirm
- run: pacman -S pkg-config --noconfirm
- run: pacman -S boost-libs boost --noconfirm
- run: pacman -S cmake --noconfirm
- run: pacman -S libffi --noconfirm
- run: pacman -S icu --noconfirm
- run: pacman -S qt5-base --noconfirm
- run: pacman -S qt5-tools --noconfirm
- run: pacman -S qt5-webkit --noconfirm
- run: pacman -S libxml2 --noconfirm
- run: pacman -S gcc --noconfirm
- run: pacman -S make --noconfirm
- run: pacman -S blas --noconfirm
- run: pacman -S lapack --noconfirm
- run: pacman -S lapacke --noconfirm
- run: pacman -S fftw --noconfirm
- run: pacman -S openmpi --noconfirm
- run: pacman -S hdf5 --noconfirm
# - run: pacman -S libmatio --noconfirm
- run: pacman -S taglib --noconfirm
- run: pacman -S portaudio --noconfirm
- run: pacman -S libsndfile --noconfirm
- run: pacman -S git --noconfirm
- run: pacman -S zlib --noconfirm
- run: pacman -S curl --noconfirm
- run: pacman -S libgit2 --noconfirm
- run: git clone https://github.com/HDFGroup/hdf5.git /tmp/hdf5-1_10_5
- run: cd /tmp/hdf5-1_10_5 && git checkout hdf5-1_10_5 && ./configure --quiet --enable-shared --disable-deprecated-symbols --disable-hl --disable-strict-format-checks --disable-memory-alloc-sanity-check --disable-instrument --disable-parallel --disable-trace --disable-asserts --with-pic --with-default-api-version=v110 CFLAGS="-w" && make install -C src
- run: git clone https://github.com/tbeu/matio /tmp/matio
- run: cd /tmp/matio && git checkout v1.5.16 && cd /tmp/matio && ./autogen.sh && ./configure --enable-shared --enable-mat73=yes --enable-extended-sparse=no --with-pic --with-hdf5=/tmp/hdf5-1_10_5/hdf5 && make && make install;
- run: git clone https://gitlab.com/libeigen/eigen.git /tmp/eigen
- run: mkdir /tmp/eigen-build && cd /tmp/eigen && git checkout 3.3.9 && cd - && cd /tmp/eigen-build && cmake . /tmp/eigen && make -j4 && make install;
- run: mkdir -p /tmp/project/nelson
- checkout
- run: cd /tmp/project/nelson
- run: cmake -G "Unix Makefiles" .
- run: make -j4
- run: make get_module_skeleton
- run: make buildhelp
- run: make tests_minimal
- run: make package
- run: make benchs_all_no_display
- run: rm -rf ~/.gitconfig 2> /dev/null
- run: rm -rf /etc/gitconfig 2> /dev/null
- run: make tests_all_no_display