Skip to content

Commit

Permalink
[build] streamline gh action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hampel committed May 31, 2024
1 parent b558b07 commit 162f163
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 78 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/build_3.1.x.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build_PR.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build_PR
name: build PR

on:
pull_request:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: build_3.2.x
name: build release

on:
push:
branches: [ 3.2.x ]
branches: [ '[0-9]+.[0-9]+.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:${{github.ref_name}}

steps:
- uses: actions/checkout@v4
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/build_stable.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: build unstable & doc

on:
push:
Expand All @@ -23,7 +23,7 @@ jobs:

runs-on: ubuntu-latest
container:
image: ghcr.io/triqs/solid_dmft_github_ci:unstable
image: ghcr.io/triqs/solid_dmft_github_ci:${{github.ref_name}}

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Create and publish Docker images

on:
push: { branches: [ 3.3.x ] }
push: { branches: [ unstable, '[0-9]+.[0-9]+.x' ] }
pull_request:
branches: [ 3.3.x ]
branches: [ unstable, '[0-9]+.[0-9]+.x' ]
paths: ['Docker/**']
workflow_call:
workflow_dispatch:
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.3.x
image: ghcr.io/triqs/solid_dmft_github_ci:${{github.ref_name}}

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

0 comments on commit 162f163

Please sign in to comment.