diff --git a/.github/workflows/analyzer.yml b/.github/workflows/analyzer.yml index b88a01ec..7e0f700c 100644 --- a/.github/workflows/analyzer.yml +++ b/.github/workflows/analyzer.yml @@ -64,20 +64,20 @@ jobs: uses: actions/checkout@v4 with: repository: include-what-you-use/include-what-you-use - ref: 377eaef70cdda47368939f4d9beabfabe3f628f0 + ref: 30e221fad0967aa6bcb279600127748ed3dab7ad path: include-what-you-use - name: Download required linux packages run: | - sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main' + sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-19 main' wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - sudo apt update - sudo apt install -y libclang-18-dev clang-18 libc++-18-dev + sudo apt install -y libclang-19-dev clang-19 libc++-19-dev - name: Set up include-what-you-use run: | mkdir build && cd build - cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH="/usr/lib/llvm-18" .. + cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH="/usr/lib/llvm-19" .. sudo make install working-directory: include-what-you-use @@ -99,7 +99,7 @@ jobs: uses: actions/checkout@v4 - name: Run clang-format style check - uses: jidicula/clang-format-action@f62da5e3d3a2d88ff364771d9d938773a618ab5e + uses: jidicula/clang-format-action@c74383674bf5f7c69f60ce562019c1c94bc1421a id: clang-format with: - clang-format-version: '18' \ No newline at end of file + clang-format-version: '19' \ No newline at end of file diff --git a/.github/workflows/pikafish.yml b/.github/workflows/pikafish.yml index 04956fde..b4f4f5a8 100644 --- a/.github/workflows/pikafish.yml +++ b/.github/workflows/pikafish.yml @@ -44,12 +44,12 @@ jobs: run: | wget https://apt.llvm.org/llvm.sh chmod u+x llvm.sh - echo | sudo ./llvm.sh 18 + echo | sudo ./llvm.sh 19 rm llvm.sh - sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-18 100 - sudo update-alternatives --install /usr/bin/llvm-profdata llvm-profdata /usr/bin/llvm-profdata-18 100 - sudo update-alternatives --set clang++ /usr/bin/clang++-18 - sudo update-alternatives --set llvm-profdata /usr/bin/llvm-profdata-18 + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100 + sudo update-alternatives --install /usr/bin/llvm-profdata llvm-profdata /usr/bin/llvm-profdata-19 100 + sudo update-alternatives --set clang++ /usr/bin/clang++-19 + sudo update-alternatives --set llvm-profdata /usr/bin/llvm-profdata-19 - name: Setup msys and install required packages if: runner.os == 'Windows' diff --git a/.github/workflows/tuning.yml b/.github/workflows/tuning.yml index efcfdd30..28ccc1ef 100644 --- a/.github/workflows/tuning.yml +++ b/.github/workflows/tuning.yml @@ -19,6 +19,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install LLVM and Clang + if: runner.os == 'Linux' + run: | + wget https://apt.llvm.org/llvm.sh + chmod u+x llvm.sh + echo | sudo ./llvm.sh 19 + rm llvm.sh + sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 100 + sudo update-alternatives --set clang++ /usr/bin/clang++-19 + - name: make run: make clean && make -j build && make strip