conda package configuration and documentation update (#3) #96
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: test_build | |
on: [push, workflow_dispatch] | |
jobs: | |
check_mac_installation: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: brew install openblas lapack open-mpi gcc | |
- name: get PDAF | |
run: | | |
wget -O PDAF_V2.1.tar.gz "${{ env.PDAF_LINK }}" | |
gzip -d PDAF_V2.1.tar.gz | |
tar -xvf PDAF_V2.1.tar | |
env: | |
PDAF_LINK: ${{ secrets.PDAF_V2_1 }} | |
- name: Install gfortran | |
run: | | |
brew reinstall gcc | |
echo 'export PATH="/usr/local/opt/gcc/bin:$PATH"' >> $GITHUB_ENV | |
source $GITHUB_ENV | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
- name: install pyPDAF | |
run: | | |
$CONDA/bin/conda install python | |
mv setup_mac.cfg setup.cfg | |
pip install -v . | |
check_ubuntu_installation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt install -y liblapack-dev libblas-dev libopenmpi-dev | |
- name: get PDAF | |
run: | | |
wget -O PDAF_V2.1.tar.gz "${{ env.PDAF_LINK }}" | |
gzip -d PDAF_V2.1.tar.gz | |
tar -xvf PDAF_V2.1.tar | |
env: | |
PDAF_LINK: ${{ secrets.PDAF_V2_1 }} | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
- name: install pyPDAF | |
run: | | |
$CONDA/bin/conda install python | |
pip install -v . | |