Skip to content

Commit

Permalink
Use Clang early when testing builds
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomofiorin committed Aug 22, 2023
1 parent e703c50 commit cc97e6a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Install build dependencies for library
run: |
sudo apt-get -y install ccache tcl8.6-dev
sudo apt -y install ccache tcl8.6-dev clang
- name: Test build recipes
run: bash devel-tools/check_build_recipes
Expand All @@ -48,7 +48,7 @@ jobs:
exit 1
fi
- name: Build and test library with CMake
- name: Build and test library (GCC)
env:
CCACHE: ccache
run: cmake -P devel-tools/build_test_library.cmake
Expand All @@ -63,6 +63,13 @@ jobs:
exit 1
fi
- name: Build and test library (Clang)
env:
CCACHE: ccache
CXX: clang++
CC: clang
run: cmake -P devel-tools/build_test_library.cmake

- name: Build library with debug flags enabled
env:
CCACHE: ccache
Expand Down

0 comments on commit cc97e6a

Please sign in to comment.