Skip to content

XXX: Play with CI to set up IWYU #747

XXX: Play with CI to set up IWYU

XXX: Play with CI to set up IWYU #747

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: Build & Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
iwyu:
runs-on: ubuntu-latest
steps:
- run: |
dpkg-query -l "*llvm*"
dpkg-query -l "*clang*"
sudo apt-get update
sudo apt-get install \
llvm-18-dev \
libclang-18-dev
- name: Check out IWYU repo
uses: actions/checkout@v6
with:
repository: include-what-you-use/include-what-you-use
ref: clang_18
path: 'iwyu'
- name: Build IWYU
run: |
cd iwyu
cmake -G Ninja -B build -DCMAKE_PREFIX_PATH=/usr/lib/llvm-18
cmake --build build