diff --git a/.circleci/config.yml b/.circleci/config.yml index 89538d234a..faebd093b9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,7 @@ version: 2 jobs: build: + working_directory: /tmp/project/nelson docker: - image: archlinux/base:latest environment: @@ -8,6 +9,7 @@ jobs: 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,9 @@ 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; + - 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