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 9, 2021
1 parent caddf76 commit 84b1859
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 11 deletions.
41 changes: 31 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
version: 2
jobs:
build:
working_directory: ~/
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,14 +46,33 @@ 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: 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: git clone https://github.com/Nelson-numerical-software/nelson.git
- run:
command: git checkout ${CIRCLE_BRANCH}
working_directory: ~/nelson
- run:
command: cmake -G "Unix Makefiles" .
working_directory: ~/nelson
- run:
command: make -j4
working_directory: ~/nelson
- run:
command: make get_module_skeleton
working_directory: ~/nelson
- run:
command: make buildhelp
working_directory: ~/nelson
- run:
command: make tests_minimal
working_directory: ~/nelson
- run:
command: make package
working_directory: ~/nelson
- run:
command: make benchs_all_no_display
working_directory: ~/nelson
- run: rm -rf ~/.gitconfig 2> /dev/null
- run: rm -rf /etc/gitconfig 2> /dev/null
- run: make tests_all_no_display
- run:
command: make tests_all_no_display
working_directory: ~/nelson
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 0.5.3 (UNRELEASED)

## Features:

- callstack reworks.

- for loop faster > x2.
Expand All @@ -10,6 +12,10 @@

- C++ API nargincheck, nargoutcheck helpers added.

## Bug Fixes:

- [#413](http://github.com/Nelson-numerical-software/nelson/issues/413): circle CI Arch docker did not work.

# 0.5.2 (2021-02-27)

## Features:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_Arch
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ MAINTAINER Allan CORNET "nelson.numerical.computation@gmail.com"
ARG BRANCH_NAME
RUN echo "Nelson's branch: ${BRANCH_NAME}"

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 All @@ -52,7 +53,6 @@ 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
Expand Down

0 comments on commit 84b1859

Please sign in to comment.