Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit bf53368

Browse files
Khalil Estellkammce
authored andcommitted
👷 Use clang-tidy-16 for testing
1 parent 8663812 commit bf53368

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
compiler_version: 12
7878
os: ubuntu-22.04
7979
standard_library: libstdc++
80-
installations: sudo apt install -y clang-tidy
80+
installations: wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - && sudo add-apt-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" && sudo apt-get install -y clang-tidy-16
8181
enable_coverage: ${{ inputs.coverage }}
8282
profile_path: profiles/x86_64/linux/
8383

@@ -92,7 +92,7 @@ jobs:
9292
# compiler_version: 12
9393
# os: windows-2022
9494
# standard_library: libstdc++
95-
# installations: choco install python mingw make llvm
95+
# installations: choco install python mingw make && choco install llvm --version=16.0.6
9696
# profile_path: profiles/x86_64/windows/
9797

9898
runs-on: ${{ matrix.os }}
@@ -123,7 +123,12 @@ jobs:
123123
run: conan config install -sf ${{ matrix.profile_path }} -tf profiles https://github.com/libhal/conan-config.git
124124

125125
- name: 🔬 Create & Run Unit Tests
126-
run: conan create . --build=missing -s compiler.cppstd=20 -s compiler.version=${{ matrix.compiler_version }} -s compiler.libcxx=${{ matrix.standard_library }} -s compiler=${{ matrix.toolchain }} -s build_type=Debug
126+
if: ${{ runner.os != 'Windows' }}
127+
run: VERBOSE=1 conan create . --build=missing -s compiler.cppstd=20 -s compiler.version=${{ matrix.compiler_version }} -s compiler.libcxx=${{ matrix.standard_library }} -s compiler=${{ matrix.toolchain }} -s build_type=Debug
128+
129+
- name: 🔬 Create & Run Unit Tests
130+
if: ${{ runner.os == 'Windows' }}
131+
run: $env:VERBOSE = 1 ; conan create . --build=missing -s compiler.cppstd=20 -s compiler.version=${{ matrix.compiler_version }} -s compiler.libcxx=${{ matrix.standard_library }} -s compiler=${{ matrix.toolchain }} -s build_type=Debug
127132

128133
- name: 🔬 Build & Run Unit Tests (for coverage)
129134
if: ${{ matrix.enable_coverage }}

0 commit comments

Comments
 (0)