Skip to content

Commit

Permalink
circleci: try re-enabling ubuntu24; remove centos 7, but try using ce…
Browse files Browse the repository at this point in the history
…ntos 8
  • Loading branch information
dstndstn committed Sep 4, 2024
1 parent e831931 commit 82f5761
Showing 1 changed file with 2 additions and 59 deletions.
61 changes: 2 additions & 59 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,63 +327,6 @@ jobs:
listhead demo/apod5.wcs
solve-field --config demo/cfg demo/apod5.xyls --continue --no-tweak --objs 60
build-docker-centos-7:
docker:
- image: centos:7
steps:
- run:
name: CPU info
command: cat /proc/cpuinfo
- run:
name: RPM packages
command: |
yum -y install patch gcc make file pkg-config wget curl swig git
yum -y install gsl-devel cairo-devel libpng-devel libjpeg-turbo-devel zlib-devel bzip2-devel swig python36-devel
yum -y install dnf
dnf -y install dnf-plugins-core
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install epel-release
dnf install -y 'dnf-command(config-manager)'
dnf repolist
yum -y install netpbm netpbm-devel netpbm-progs
yum -y install cfitsio cfitsio-devel wcslib wcslib-utils wcslib-devel
ln -s /usr/lib64/libnetpbm.so.11 /usr/local/lib/libnetpbm.so
- run:
name: Python packages
command: |
pip3 install numpy
pip3 install fitsio
- checkout
- run:
name: Make
command: |
NETPBM_INC=-I/usr/include/netpbm
NETPBM_LIB=-lnetpbm
make reconfig && grep "^HAVE_NETPBM := yes" util/makefile.os-features
make
make py
make extra
make test
- run:
name: Tests
command: |
(cd util && ./test)
(cd libkd && ./test)
(cd solver && ./test)
(cd plot && ./test)
make install INSTALL_DIR=~/an PYTHON_SCRIPT="/usr/bin/env python3"
export PYTHONPATH=${PYTHONPATH}:~/an/lib/python
(cd /tmp && python3 -c "import astrometry.libkd.spherematch")
export PATH=${PATH}:~/an/bin
build-astrometry-index -d 3 -o index-9918.fits -P 18 -S mag -B 0.1 -s 0 -r 1 -I 9918 -M -i demo/tycho2-mag6.fits
echo -e 'add_path .\ninparallel\nindex index-9918.fits' > 99.cfg
solve-field --config 99.cfg demo/apod4.jpg --continue
tablist demo/apod4.match
listhead demo/apod4.wcs
solve-field --config demo/cfg demo/apod5.jpg --continue --no-tweak --objs 60
listhead demo/apod5.wcs
solve-field --config demo/cfg demo/apod5.xyls --continue --no-tweak --objs 60
build-docker-rocky-85:
docker:
- image: rockylinux:8.5
Expand Down Expand Up @@ -446,10 +389,10 @@ workflows:
version: 2
build:
jobs:
#- "build-docker-ubuntu-24-py311"
- "build-docker-ubuntu-24-py311"
- "build-docker-ubuntu-22-py310"
- "build-docker-ubuntu-20-py39"
- "build-docker-ubuntu-18"
- "build-docker-centos-7"
- "build-docker-centos-8"
- "build-docker-rocky-85"
#- "build-arm-docker-ubuntu-20-py39"

0 comments on commit 82f5761

Please sign in to comment.