Skip to content

Commit d40e345

Browse files
committed
fix CI: remove duplicate git init in test-cpp, add fail-fast: false, symlink clang-format, deduplicate cpp matrix entry
1 parent 13a4515 commit d40e345

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ permissions:
2121
jobs:
2222
build:
2323
strategy:
24+
fail-fast: false
2425
matrix:
2526
template:
2627
- python
27-
# - cpp
28+
- cpp
2829
- js
2930
- jupyter
3031
- rust
3132
- rustjswasm
32-
- cpp
3333
- cppjswasm
3434
os:
3535
- ubuntu-latest
@@ -62,6 +62,7 @@ jobs:
6262
run: |
6363
if [[ "$RUNNER_OS" == "Linux" ]]; then
6464
sudo apt-get install -y clang-format-14
65+
sudo ln -sf /usr/bin/clang-format-14 /usr/bin/clang-format
6566
elif [[ "$RUNNER_OS" == "macOS" ]]; then
6667
brew install clang-format
6768
fi

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ test-python:
6464

6565
test-cpp:
6666
cd ../python-template-cpp && git config --global user.name "github-actions" && git config --global user.email "41898282+github-actions[bot]@users.noreply.github.c@example.com" && git init && git add . && git commit -m "initial commit"
67-
cd ../python-template-cpp && git init && git add . && git commit -m "initial commit"
6867
cd ../python-template-cpp && make develop
6968
cd ../python-template-cpp && make lint
7069
cd ../python-template-cpp && make checks

0 commit comments

Comments
 (0)