Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split linting and build steps in CI #3127

Merged
merged 4 commits into from
Apr 15, 2024
Merged

Split linting and build steps in CI #3127

merged 4 commits into from
Apr 15, 2024

Conversation

garth-wells
Copy link
Member

This partially preparation for adding a build step without PETSc.

@garth-wells garth-wells added the ci Continuous Integration label Apr 15, 2024
@@ -93,6 +66,38 @@ jobs:
run: |
find . -type f \( -name "*.cmake" -o -name "*.cmake.in" -o -name "CMakeLists.txt" \) | xargs cmake-format --check

build:
if: "!(contains(github.event.head_commit.message, '[ci skip]') || contains(github.event.head_commit.message, '[skip ci]'))"
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garth-wells garth-wells added this pull request to the merge queue Apr 15, 2024
build:
if: "!(contains(github.event.head_commit.message, '[ci skip]') || contains(github.event.head_commit.message, '[skip ci]'))"
runs-on: ubuntu-latest
container: ghcr.io/fenics/test-env:current-openmpi
Copy link
Member

@jhale jhale Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you make build need lint then we can save pointless CI starts across the matrix of petsc architectures.

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds

Merged via the queue into main with commit aceb1af Apr 15, 2024
21 checks passed
@garth-wells garth-wells deleted the garth/lint-ci branch April 15, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants