Skip to content

Commit

Permalink
[build] update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed May 26, 2024
1 parent 858a42b commit d0b64ec
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build_3.2.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: build_stable

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"

permissions:
contents: write

jobs:
build:

strategy:
fail-fast: false

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

steps:
- uses: actions/checkout@v4

- name: Build solid_dmft
run: |
cmake -S . -B build/
cmake --build build/ --verbose
- name: Test solid_dmft
run: |
cmake --build build/ --target test
4 changes: 2 additions & 2 deletions .github/workflows/build_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build_stable

on:
push:
branches: [ 3.2.x ]
branches: [ 3.3.x ]

env:
CMAKE_BUILD_PARALLEL_LEVEL: 2
Expand All @@ -23,7 +23,7 @@ jobs:

runs-on: ubuntu-latest
container:
image: ghcr.io/triqs/solid_dmft_github_ci:3.2.x
image: ghcr.io/triqs/solid_dmft_github_ci:3.3.x

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Build distribution 📦
runs-on: ubuntu-latest
container: # we have to provide a working triqs installation to make the cmake step work
image: ghcr.io/triqs/solid_dmft_github_ci:3.2.x
image: ghcr.io/triqs/solid_dmft_github_ci:3.3.x

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit d0b64ec

Please sign in to comment.