Merge pull request #12 from Eothred/meson #1
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: | |
tags: | |
- '*' | |
branches: | |
- '*' | |
jobs: | |
apple-silicon: | |
runs-on: macos-14 | |
steps: | |
- name: Install packages | |
run: | | |
brew reinstall pkg-config fftw | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
.github/workflows/pip-build.sh | |
- name: Test | |
run: | | |
.github/workflows/pip-tests.sh | |
- name: Print Versions | |
run: | | |
.github/workflows/pip-versions.sh | |
centos-stream: | |
runs-on: ubuntu-latest | |
container: | |
image: quay.io/centos/centos:stream9 | |
steps: | |
- name: Install packages | |
run: | | |
dnf group install -y "Development Tools" | |
dnf install -y python3-devel fftw3-devel | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
.github/workflows/pip-build.sh | |
- name: Test | |
run: | | |
.github/workflows/pip-tests.sh | |
- name: Print Versions | |
run: | | |
.github/workflows/pip-versions.sh | |
ubuntu: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:latest | |
steps: | |
- name: Install packages | |
run: | | |
apt-get update -y | |
apt-get install -y build-essential python3 libfftw3-dev python3-venv libpython3-dev pkg-config git | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
.github/workflows/pip-build.sh | |
- name: Test | |
run: | | |
.github/workflows/pip-tests.sh | |
- name: Print Versions | |
run: | | |
.github/workflows/pip-versions.sh | |
conda: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:latest | |
steps: | |
- name: Install Conda | |
run: | | |
apt update -y | |
apt install -y curl gpg git build-essential | |
curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor > conda.gpg | |
install -o root -g root -m 644 conda.gpg /usr/share/keyrings/conda-archive-keyring.gpg | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/conda-archive-keyring.gpg] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list | |
apt update -y | |
apt install -y conda | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: | | |
.github/workflows/conda-build.sh | |
- name: Test | |
run: | | |
.github/workflows/conda-tests.sh | |
- name: Print Versions | |
run: | | |
.github/workflows/conda-versions.sh |