Skip to content

Commit fafac20

Browse files
committed
Actually installing clang-format 16 and trying to remove the working directories from the linux builds
1 parent f8123ed commit fafac20

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/pipeline.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646
source "$HOME/.cargo/env"
4747
4848
- name: Configure build
49-
working-directory: ${{runner.workspace}}
5049
env:
5150
CC: ${{matrix.cc}}
5251
CXX: ${{matrix.cxx}}
@@ -60,13 +59,11 @@ jobs:
6059
-DDBC_GENERATE_SINGLE_HEADER=ON
6160
6261
- name: Build tests + lib
63-
working-directory: ${{runner.workspace}}
6462
run: cmake --build build --parallel `nproc`
6563

6664
- name: Run tests
6765
env:
6866
CTEST_OUTPUT_ON_FAILURE: 1
69-
working-directory: ${{runner.workspace}}
7067
run: ctest --output-on-failure --test-dir build -j `nproc`
7168

7269
windows-build:
@@ -162,9 +159,10 @@ jobs:
162159
chmod +x llvm.sh
163160
sudo ./llvm.sh 16
164161
162+
sudo apt update && sudo apt install -y clang-format-16
165163
sudo ln -sf $(which clang-format-16) $(which clang-format)
166164
167-
clang-format --version
165+
test "$(clang-format --version)" == "$(clang-forsmat-16 --version)"
168166
169167
- name: Test format with clang format
170168
run: ./scripts/fmt.sh

0 commit comments

Comments
 (0)