Skip to content

Commit

Permalink
fix #413 circle CI (arch docker)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed Mar 8, 2021
1 parent caddf76 commit 9adba7d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
@@ -1,13 +1,15 @@
version: 2
jobs:
build:
working_directory: ~/nelson
docker:
- image: archlinux/base:latest
- image: archlinux: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
Expand Down Expand Up @@ -44,7 +46,10 @@ jobs:
- 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;
- checkout
- run: mkdir -p ~/project/
- run: git clone https://github.com/Nelson-numerical-software/nelson.git
- run: git checkout $CIRCLE_BRANCH
- run: cd ~/project/nelson
- run: cmake -G "Unix Makefiles" .
- run: make -j4
- run: make get_module_skeleton
Expand Down

0 comments on commit 9adba7d

Please sign in to comment.