File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN apt-get update \
2020 && apt-get update \
2121 && apt-get install --no-install-recommends -y \
2222 build-essential gfortran \
23- libcfitsio-dev libreadline-dev libvpx-dev libgsl0-dev \
23+ libcfitsio-dev libreadline-dev libvpx-dev \
2424 netpbm libnetpbm10-dev
2525
2626FROM deps as builder
Original file line number Diff line number Diff line change 1+ name : Install GSL
2+ runs :
3+ using : " composite"
4+ steps :
5+ - name : Install GSL (via apt-get)
6+ shell : bash
7+ run : |
8+ if ${{ toJSON( runner.os == 'Linux' ) }}; then
9+ echo "::group::Install GSL (via apt-get)"
10+ sudo apt-get -y update && sudo apt-get install --no-install-recommends -y libgsl0-dev
11+ echo "::endgroup::"
12+ fi
13+ - name : Install GSL (via brew)
14+ shell : bash
15+ run : |
16+ if ${{ toJSON( runner.os == 'macOS' ) }}; then
17+ echo "::group::Install GSL (via brew)"
18+ brew install gsl
19+ echo "::endgroup::"
20+ fi
Original file line number Diff line number Diff line change 88 if ${{ toJSON( runner.os == 'Linux' ) }}; then
99 echo "::group::Install main PDL deps (via apt-get)"
1010 sudo apt-get -y update && \
11- sudo apt-get install --no-install-recommends -y build-essential libcfitsio-dev libreadline-dev libvpx-dev libgsl0-dev netpbm libnetpbm10-dev
11+ sudo apt-get install --no-install-recommends -y build-essential libcfitsio-dev libreadline-dev libvpx-dev netpbm libnetpbm10-dev
1212 echo "::endgroup::"
1313 elif ${{ toJSON( runner.os == 'macOS' ) }}; then
1414 echo "::group::Install main PDL deps (via brew)"
1515 brew update
16- HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install netpbm gsl
16+ HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install netpbm
1717 echo "::endgroup::"
1818 fi
1919 - name : Install extra optional main PDL deps
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ function start() {
66 sudo apt-get update
77 sudo apt-get install -y build-essential libx11-dev pgplot5 libplplot-dev libvpx-dev libxpm-dev libcfitsio3-dev libreadline-dev
88 if [ " $DISABLE_FORTRAN " != 1 ]; then sudo apt-get install -y gfortran; fi # set DISABLE_FOTRAN = 1 to not install gfortran
9- sudo apt-get install -y libxi-dev libxmu-dev freeglut3-dev libgsl0-dev libnetpbm10-dev # for OpenGL
9+ sudo apt-get install -y libxi-dev libxmu-dev freeglut3-dev libnetpbm10-dev # for OpenGL
1010 sudo apt-get install -y xvfb # for OpenGL
1111 export PGPLOT_DEV=/NULL
1212 cpanm --installdeps PDL || ( cat ~ /.cpanm/build.log && false )
You can’t perform that action at this time.
0 commit comments