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 190832f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
@@ -1,13 +1,15 @@
version: 2
jobs:
build:
working_directory: /root/project
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 @@ -45,6 +47,7 @@ jobs:
- 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: cd /root/project
- run: cmake -G "Unix Makefiles" .
- run: make -j4
- run: make get_module_skeleton
Expand Down

0 comments on commit 190832f

Please sign in to comment.