From 9adba7d40885a48f799408de83aa051dbea3d09a Mon Sep 17 00:00:00 2001 From: Allan CORNET Date: Mon, 8 Mar 2021 20:51:17 +0100 Subject: [PATCH] fix #413 circle CI (arch docker) --- .circleci/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89538d234a..3fd237aa16 100644 --- a/.circleci/config.yml +++ b/.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 @@ -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