Skip to content

Commit

Permalink
[build] use new auto build ghcr.io docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed Jan 12, 2024
1 parent fecf4ce commit b5f971c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build_3.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,31 @@ on:
push:
branches: [ 3.1.x ]

env:
CMAKE_BUILD_PARALLEL_LEVEL: 2
CTEST_PARALLEL_LEVEL: 1
CTEST_OUTPUT_ON_FAILURE: 1
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_rmaps_base_oversubscribe: "yes"

jobs:
build:

strategy:
fail-fast: false

runs-on: ubuntu-latest
container: materialstheory/solid_dmft_ci:3.1.x
container: ghcr.io/triqs/solid_dmft_github_ci:3.1.x

steps:
- uses: actions/checkout@v2
with:
- uses: actions/checkout@v4
with:
path: 'solid_dmft.src'

- name: Build solid_dmft
run: |
mkdir solid_dmft.build && cd solid_dmft.build && cmake ../solid_dmft.src -DMPIEXEC_PREFLAGS='--allow-run-as-root'
mkdir solid_dmft.build && cd solid_dmft.build && cmake ../solid_dmft.src -DMPIEXEC_PREFLAGS='--allow-run-as-root'
make
- name: Test solid_dmft
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/build_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,31 @@ on:
push:
branches: [ 3.2.x ]

env:
CMAKE_BUILD_PARALLEL_LEVEL: 2
CTEST_PARALLEL_LEVEL: 1
CTEST_OUTPUT_ON_FAILURE: 1
OMPI_ALLOW_RUN_AS_ROOT: 1
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
OMPI_MCA_rmaps_base_oversubscribe: "yes"

jobs:
build:

strategy:
fail-fast: false

runs-on: ubuntu-latest
container: materialstheory/solid_dmft_ci:3.2.x
container: ghcr.io/triqs/solid_dmft_github_ci:3.2.x

steps:
- uses: actions/checkout@v2
with:
- uses: actions/checkout@v4
with:
path: 'solid_dmft.src'

- name: Build solid_dmft
run: |
mkdir solid_dmft.build && cd solid_dmft.build && cmake ../solid_dmft.src -DMPIEXEC_PREFLAGS='--allow-run-as-root'
mkdir solid_dmft.build && cd solid_dmft.build && cmake ../solid_dmft.src -DMPIEXEC_PREFLAGS='--allow-run-as-root'
make
- name: Test solid_dmft
Expand Down

0 comments on commit b5f971c

Please sign in to comment.