Skip to content

Commit

Permalink
Integrate cmake-format-check
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Sep 30, 2024
1 parent f9e224b commit a0cca14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cmake-format-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: cmake-format check

on: [push, pull_request]
on:t
workflow_call:

permissions: read-all

Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/continuous-integration-stager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ jobs:
clang-format-check:
uses: ./.github/workflows/clang-format-check.yml

cmake-format-check:
uses: ./.github/workflows/cmake-format-check.yml

initial-check:
uses: ./.github/workflows/continuous-integration-smoketest.yml

# primary testing
codeql:
needs: [initial-check, clang-format-check]
needs: [initial-check, clang-format-check, cmake-format-check]
# need to set manual permissions since it requires security-events write
# but then we have to set everything else manually to read since the
# default is overwritten
Expand All @@ -38,25 +41,25 @@ jobs:
uses: ./.github/workflows/codeql.yml

windows-cuda:
needs: [initial-check, clang-format-check]
needs: [initial-check, clang-format-check, cmake-format-check]
uses: ./.github/workflows/continuous-integration-windows.yml

standard-linux:
needs: [initial-check, clang-format-check]
needs: [initial-check, clang-format-check, cmake-format-check]
uses: ./.github/workflows/continuous-integration-linux.yml

hpx-linux:
needs: [initial-check, clang-format-check]
needs: [initial-check, clang-format-check, cmake-format-check]
uses: ./.github/workflows/continuous-integration-linux-hpx.yml

linux-32bit:
needs: [initial-check, clang-format-check]
needs: [initial-check, clang-format-check, cmake-format-check]
uses: ./.github/workflows/continuous-integration-linux-32bit.yml

osx:
needs: [initial-check, clang-format-check]
needs: [initial-check, clang-format-check, cmake-format-check]
uses: ./.github/workflows/continuous-integration-osx.yml

performance-test:
needs: [initial-check, clang-format-check]
needs: [initial-check, clang-format-check, cmake-format-check]
uses: ./.github/workflows/performance-benchmark.yml

0 comments on commit a0cca14

Please sign in to comment.