Skip to content

Commit

Permalink
iwyu.yml: use Fedora as it contains the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Jul 26, 2023
1 parent 8907031 commit 3f723d7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/iwyu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-22.04

container:
image: "archlinux:latest"
image: "fedora:latest"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -45,6 +45,11 @@ jobs:
pacman -S include-what-you-use --noconfirm
ln -s iwyu-tool /usr/sbin/iwyu_tool
- name: Install missing software on archlinux
if: contains(container.image, 'fedora')
run: |
yum install iwyu
- name: Prepare CMake
run: |
cmake -S . -B cmake.output -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DWITH_QCHART=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCPPCHK_GLIBCXX_DEBUG=Off -DUSE_MATCHCOMPILER=Off
Expand Down

0 comments on commit 3f723d7

Please sign in to comment.