Merge pull request #86 from shishlo/master #34
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: build-pyorbit | |
on: push | |
jobs: | |
centos-stream: | |
runs-on: ubuntu-latest | |
container: | |
image: quay.io/centos/centos:stream | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install packages | |
run: | | |
yum install -y gcc gcc-c++ make python2 python2-devel mpich mpich-devel zlib-devel fftw-devel | |
- name: Make | |
run: | | |
.github/workflows/build.sh | |
- name: Test | |
run: | | |
.github/workflows/run-tests.sh | |
ubuntu-2004: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install packages | |
run: | | |
pwd | |
apt update | |
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata | |
apt install -y build-essential python-dev libmpich-dev mpich zlib1g-dev libfftw3-dev | |
- name: Make | |
run: | | |
.github/workflows/build.sh | |
- name: Test | |
run: | | |
.github/workflows/run-tests.sh |