Update Dysco to include RF norm fixes #564
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: | |
push: | |
branches: [ master ] | |
tags: [ "*" ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
osx: | |
runs-on: macos-12 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: install homebrew deps | |
run: brew install fftw hdf5 boost-python3 cfitsio wcslib wget gfortran gsl ninja | |
# See https://github.com/orgs/Homebrew/discussions/3895#discussioncomment-4130560 | |
- name: ensure we use homebrew python | |
run: | | |
find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete | |
brew unlink python@3.11 | |
brew link python@3.11 | |
- name: pip install numpy | |
run: pip3 install numpy | |
- name: get WSRT measures | |
run: wget ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar -O WSRT_Measures.ztar | |
- name: make build folder | |
run: | | |
mkdir -p build | |
cd build | |
tar zxvf ../WSRT_Measures.ztar | |
- name: configure | |
run: | | |
cd build | |
cmake \ | |
-G Ninja \ | |
-DBUILD_TESTING=ON \ | |
-DCMAKE_PREFIX_PATH=/usr/local/ \ | |
-DUSE_OPENMP=OFF \ | |
-DUSE_HDF5=ON \ | |
-DBUILD_PYTHON=OFF \ | |
-DBUILD_PYTHON3=ON \ | |
-DPython3_EXECUTABLE=`which python3.11` \ | |
-DBoost_NO_BOOST_CMAKE=True \ | |
-DCMAKE_Fortran_COMPILER=gfortran-13 \ | |
-DDATA_DIR=. .. | |
- name: build | |
run: cmake --build build | |
- name: run tests | |
run: | | |
cd build | |
CTEST_OUTPUT_ON_FAILURE=1 ctest -E tConvert | |
- name: install | |
run: cmake --build build --target install |