Skip to content

Commit

Permalink
ci: antora workflow sets up clang 18
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Jul 9, 2024
1 parent fde1f0f commit 21da6dd
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,13 @@ jobs:
name: Antora Docs
needs: [ runner-selection ]
runs-on: ${{ fromJSON(needs.runner-selection.outputs.labelmatrix)['ubuntu-latest'] }}
container: ubuntu:23.10
steps:
- name: Setup Git
uses: alandefreitas/cpp-actions/[email protected]
with:
apt-get: git

- name: Clone Boost.URL
uses: actions/checkout@v4

Expand All @@ -366,7 +372,17 @@ jobs:
id: setup-cpp
with:
compiler: clang
version: 17
version: 18

- name: Set environment variables
run: |
set -x
clangpp_path=$(which clang++-18)
clang_path=$(which clang-18)
echo -E "CXX_COMPILER=$clangpp_path" >> $GITHUB_ENV
echo -E "CXX=$clang_path" >> $GITHUB_ENV
echo -E "C_COMPILER=$clang_path" >> $GITHUB_ENV
echo -E "CC=$clang_path" >> $GITHUB_ENV
- name: Build Antora Docs
run: |
Expand Down

0 comments on commit 21da6dd

Please sign in to comment.