From b5f971cea371ad2603899acdb6eca98176c065b4 Mon Sep 17 00:00:00 2001 From: Alexander Hampel Date: Thu, 11 Jan 2024 12:31:17 -0500 Subject: [PATCH] [build] use new auto build ghcr.io docker images --- .github/workflows/build_3.1.x.yml | 16 ++++++++++++---- .github/workflows/build_stable.yml | 16 ++++++++++++---- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_3.1.x.yml b/.github/workflows/build_3.1.x.yml index 5c2ec84b..1661e6a1 100644 --- a/.github/workflows/build_3.1.x.yml +++ b/.github/workflows/build_3.1.x.yml @@ -4,6 +4,14 @@ 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: @@ -11,16 +19,16 @@ jobs: 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 diff --git a/.github/workflows/build_stable.yml b/.github/workflows/build_stable.yml index 37564d2f..f8e09c4a 100644 --- a/.github/workflows/build_stable.yml +++ b/.github/workflows/build_stable.yml @@ -4,6 +4,14 @@ 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: @@ -11,16 +19,16 @@ jobs: 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