Skip to content

Commit

Permalink
Merge branch 'develop' into ci
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 authored May 13, 2024
2 parents 2e60e53 + fe94036 commit 4e4424a
Show file tree
Hide file tree
Showing 333 changed files with 40,959 additions and 32,229 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
image: ghcr.io/llnl/sundials_spack_cache:llvm-17.0.4-h4lflucc3v2vage45opbo2didtcuigsn.spack
steps:
- name: Install git
run: |
run: |
apt update
apt install -y git
Expand All @@ -26,18 +26,18 @@ jobs:

- name: Print clang-format version
run: clang-format --version

- name: Run checker on code
run: |
./scripts/format.sh .
./scripts/format.sh benchmarks examples include src test
- name: Run git diff to see if anything changed
run: /usr/bin/git diff --name-only --exit-code

- name: Run git diff if we failed
if: failure()
run: /usr/bin/git diff > diff

- name: Archive diff if we failed
uses: actions/upload-artifact@v3
if: failure()
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "test/answers"]
path = test/answers
url = https://github.com/sundials-codes/answers.git
[submodule "external/sundials-addon-example"]
path = external/sundials-addon-example
url = https://github.com/sundials-codes/sundials-addon-example.git
Loading

0 comments on commit 4e4424a

Please sign in to comment.