File tree Expand file tree Collapse file tree 1 file changed +5
-25
lines changed
Expand file tree Collapse file tree 1 file changed +5
-25
lines changed Original file line number Diff line number Diff line change @@ -33,33 +33,13 @@ jobs:
3333 cmake \
3434 curl \
3535 git \
36- libz-dev \
36+ lcov \
37+ libcfitsio-dev \
38+ libhdf5-dev \
39+ libfreetype-dev \
40+ libexpat1-dev \
3741 libfontconfig-dev \
38- software-properties-common \
3942 ;
40-
41- # This comes from software-properties-common, and is only necessary
42- # to install gcc-12. Remove this when we use a newer ubuntu image.
43- # https://stackoverflow.com/a/67453352
44- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
45- sudo apt update -y
46- sudo apt install -y gcc-11 g++-11
47- sudo update-alternatives \
48- --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 \
49- --slave /usr/bin/g++ g++ /usr/bin/g++-11 \
50- --slave /usr/bin/gcov gcov /usr/bin/gcov-11 \
51- --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-11 \
52- --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-11
53- gcc --version
54- g++ --version
55- gcov --version
56-
57- # Compile cfitsio from source to get its static library.
58- curl https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-4.3.0.tar.gz -O
59- tar -xvf cfitsio-4.3.0.tar.gz && rm cfitsio-4.3.0.tar.gz && cd cfitsio-4.3.0
60- CFLAGS="-fPIE -O3 -march=x86-64-v2" ./configure --enable-reentrant --disable-curl --enable-sse2 --enable-ssse3 --libdir=/usr/lib/x86_64-linux-gnu/
61- sudo make -j install
62-
6343 env :
6444 DEBIAN_FRONTEND : noninteractive
6545
You can’t perform that action at this time.
0 commit comments