Prevent propagation of angular velocities with NpT #2882
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: run tests | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
macos: | |
runs-on: macos-12 | |
if: ${{ github.repository == 'espressomd/espresso' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Setup ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: macos | |
save: ${{ github.ref == 'refs/heads/python' }} | |
- name: Setup Python environment | |
uses: actions/setup-python@v4.3.1 | |
with: | |
python-version: '3.9' | |
- name: Get runner specifications | |
run: system_profiler SPHardwareDataType | |
- name: Build and check | |
uses: ./.github/actions/build_and_check | |
env: | |
build_procs: 3 | |
check_procs: 3 | |
with_ccache: 'true' | |
debian: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/espressomd/docker/debian:339903979196fd7e72127f2cb5bfb27759d129f9-base-layer | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
options: --cpus 2 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Setup ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: debian | |
save: ${{ github.ref == 'refs/heads/python' || ( github.repository != 'espressomd/espresso' && ! startsWith(github.ref, 'refs/pull') ) }} | |
- name: Setup Git environment | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Get runner specifications | |
run: lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)' | |
- name: Build and check | |
uses: ./.github/actions/build_and_check | |
env: | |
build_procs: 2 | |
check_procs: 2 | |
myconfig: 'maxset' | |
with_ccache: 'true' | |
with_cuda: 'false' | |
with_hdf5: 'true' | |
with_fftw: 'true' | |
with_gsl: 'false' | |
with_scafacos: 'false' | |
with_stokesian_dynamics: 'false' | |
make_check_unit_tests: 'true' | |
make_check_python: 'false' | |
OMPI_ALLOW_RUN_AS_ROOT: 1 | |
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1 | |
ubuntu: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'espressomd/espresso' }} | |
container: | |
image: ghcr.io/espressomd/docker/ubuntu-wo-dependencies:339903979196fd7e72127f2cb5bfb27759d129f9-base-layer | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.github_token }} | |
options: --cpus 2 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Setup ccache | |
uses: hendrikmuhs/ccache-action@v1.2 | |
with: | |
key: ubuntu | |
save: ${{ github.ref == 'refs/heads/python' }} | |
- name: Setup Git environment | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Get runner specifications | |
run: lscpu | egrep 'Model name|Socket|Thread|NUMA|CPU\(s\)' | |
- name: Build and check | |
uses: ./.github/actions/build_and_check | |
env: | |
build_procs: 2 | |
check_procs: 2 | |
myconfig: 'maxset' | |
with_ccache: 'true' | |
with_cuda: 'false' | |
with_hdf5: 'false' | |
with_fftw: 'false' | |
with_gsl: 'false' | |
with_scafacos: 'false' | |
with_stokesian_dynamics: 'false' | |
make_check_unit_tests: 'false' | |
make_check_python: 'false' | |
OMPI_ALLOW_RUN_AS_ROOT: 1 | |
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1 |