Skip to content

Commit

Permalink
Use clang-19 for pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Nov 19, 2024
1 parent 1d6e2e6 commit ab44859
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/actions-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,18 +281,23 @@ jobs:
- name: Build SSL
run: cmake --build ./build --target ssl

clang-18-pedantic:
clang-19-pedantic:
if: github.repository_owner == 'aws'
needs: [ sanity-test-run ]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Install clang-19
run: |
wget https://apt.llvm.org/llvm.sh
chmod u+x llvm.sh
sudo ./llvm.sh 19
- name: Setup CMake
uses: threeal/[email protected]
with:
generator: Ninja
c-compiler: clang-18
cxx-compiler: clang++-18
c-compiler: clang-19
cxx-compiler: clang++-19
options: CMAKE_BUILD_TYPE=Release CMAKE_C_FLAGS=-pedantic CMAKE_CXX_FLAGS=-pedantic
- name: Build Crypto
run: cmake --build ./build --target crypto
Expand Down

0 comments on commit ab44859

Please sign in to comment.