Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .github/workflows/test-aarsethzare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Test AMUSE aarsethzare

on:
push:
paths:
- .github/workflows/test-aarsethzare.yml
- 'src/amuse_aarsethzare/**'
pull_request:
branches:
- main
paths:
- .github/workflows/test-aarsethzare.yml
- 'src/amuse_aarsethzare/**'
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest

defaults:
run:
shell: bash -el {0}

steps:
- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
channel-priority: strict

- name: Show conda info
run: |
conda info
conda list

- name: Install dependencies
run: |
conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake 'openmpi<5' gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest

- name: Configure OpenMPI
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
mkdir -p "$HOME/.openmpi"
echo "btl_tcp_if_include = lo" >>"$HOME/.openmpi/mca-params.conf"
echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Build aarsethzare
run: |
./setup install amuse-aarsethzare

- name: Ensure we test only the installed package
run: |
./setup distclean

- name: Test aarsethzare
run: |
./setup test amuse-aarsethzare

- name: Archive build logs
if: always()
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}
path: ${{ github.workspace }}/support/logs/
if-no-files-found: warn
79 changes: 79 additions & 0 deletions .github/workflows/test-adaptb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Test AMUSE adaptb

on:
push:
paths:
- .github/workflows/test-adaptb.yml
- 'src/amuse_adaptb/**'
pull_request:
branches:
- main
paths:
- .github/workflows/test-adaptb.yml
- 'src/amuse_adaptb/**'
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest

defaults:
run:
shell: bash -el {0}

steps:
- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
channel-priority: strict

- name: Show conda info
run: |
conda info
conda list

- name: Install dependencies
run: |
conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake 'openmpi<5' gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest

- name: Configure OpenMPI
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
mkdir -p "$HOME/.openmpi"
echo "btl_tcp_if_include = lo" >>"$HOME/.openmpi/mca-params.conf"
echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Build adaptb
run: |
./setup install amuse-adaptb

- name: Ensure we test only the installed package
run: |
./setup distclean

- name: Test adaptb
run: |
./setup test amuse-adaptb

- name: Archive build logs
if: always()
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}
path: ${{ github.workspace }}/support/logs/
if-no-files-found: warn
79 changes: 79 additions & 0 deletions .github/workflows/test-athena.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Test AMUSE athena

on:
push:
paths:
- .github/workflows/test-athena.yml
- 'src/amuse_athena/**'
pull_request:
branches:
- main
paths:
- .github/workflows/test-athena.yml
- 'src/amuse_athena/**'
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest

defaults:
run:
shell: bash -el {0}

steps:
- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
channel-priority: strict

- name: Show conda info
run: |
conda info
conda list

- name: Install dependencies
run: |
conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake 'openmpi<5' gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest

- name: Configure OpenMPI
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
mkdir -p "$HOME/.openmpi"
echo "btl_tcp_if_include = lo" >>"$HOME/.openmpi/mca-params.conf"
echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Build athena
run: |
./setup install amuse-athena

- name: Ensure we test only the installed package
run: |
./setup distclean

- name: Test athena
run: |
./setup test amuse-athena

- name: Archive build logs
if: always()
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}
path: ${{ github.workspace }}/support/logs/
if-no-files-found: warn
79 changes: 79 additions & 0 deletions .github/workflows/test-bhtree.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Test AMUSE bhtree

on:
push:
paths:
- .github/workflows/test-bhtree.yml
- 'src/amuse_bhtree/**'
pull_request:
branches:
- main
paths:
- .github/workflows/test-bhtree.yml
- 'src/amuse_bhtree/**'
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest

defaults:
run:
shell: bash -el {0}

steps:
- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
channel-priority: strict

- name: Show conda info
run: |
conda info
conda list

- name: Install dependencies
run: |
conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake 'openmpi<5' gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest

- name: Configure OpenMPI
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
mkdir -p "$HOME/.openmpi"
echo "btl_tcp_if_include = lo" >>"$HOME/.openmpi/mca-params.conf"
echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Build bhtree
run: |
./setup install amuse-bhtree

- name: Ensure we test only the installed package
run: |
./setup distclean

- name: Test bhtree
run: |
./setup test amuse-bhtree

- name: Archive build logs
if: always()
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}
path: ${{ github.workspace }}/support/logs/
if-no-files-found: warn
79 changes: 79 additions & 0 deletions .github/workflows/test-brutus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Test AMUSE brutus

on:
push:
paths:
- .github/workflows/test-brutus.yml
- 'src/amuse_brutus/**'
pull_request:
branches:
- main
paths:
- .github/workflows/test-brutus.yml
- 'src/amuse_brutus/**'
workflow_dispatch:

jobs:
test:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest

defaults:
run:
shell: bash -el {0}

steps:
- name: Set up conda
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
channels: conda-forge
channel-priority: strict

- name: Show conda info
run: |
conda info
conda list

- name: Install dependencies
run: |
conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake 'openmpi<5' gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest

- name: Configure OpenMPI
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
mkdir -p "$HOME/.openmpi"
echo "btl_tcp_if_include = lo" >>"$HOME/.openmpi/mca-params.conf"
echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Build brutus
run: |
./setup install amuse-brutus

- name: Ensure we test only the installed package
run: |
./setup distclean

- name: Test brutus
run: |
./setup test amuse-brutus

- name: Archive build logs
if: always()
uses: actions/upload-artifact@v4
with:
name: logs-${{ matrix.os }}
path: ${{ github.workspace }}/support/logs/
if-no-files-found: warn
Loading
Loading