Skip to content

Commit

Permalink
macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Jun 14, 2024
1 parent 534cede commit 36ec645
Showing 1 changed file with 2 additions and 83 deletions.
85 changes: 2 additions & 83 deletions .github/workflows/push_pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,9 @@ permissions:
jobs:
macos:
runs-on: macos-13
if: ${{ github.repository == 'espressomd/espresso' }}
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup ccache
uses: hendrikmuhs/[email protected]
with:
key: macos
save: ${{ github.ref == 'refs/heads/python' }}
- name: Setup Python environment
uses: actions/[email protected]
with:
Expand All @@ -30,81 +24,6 @@ jobs:
env:
build_procs: 4
check_procs: 4
with_ccache: 'true'

debian:
runs-on: ubuntu-latest
container:
image: ghcr.io/espressomd/docker/debian:f7f8ef2c0ca93c67aa16b9f91785492fb04ecc1b-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/[email protected]
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
myconfig: 'empty'
with_ccache: 'false'

ubuntu:
runs-on: ubuntu-latest
if: ${{ github.repository == 'espressomd/espresso' }}
container:
image: ghcr.io/espressomd/docker/ubuntu-wo-dependencies:f7f8ef2c0ca93c67aa16b9f91785492fb04ecc1b-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/[email protected]
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

0 comments on commit 36ec645

Please sign in to comment.