Compare commits

...

3 Commits

Author SHA1 Message Date
Nick Gerleman
74face1db4 huh? 2025-01-21 11:50:12 -08:00
Nick Gerleman
cb6dd1d01e Update clang-format version 2025-01-21 11:48:21 -08:00
Nick Gerleman
f3793303f3 Try fixing CI after GHA Ubuntu 24.04 Update
New GHA images seem to have dropped the preinstalled libc++ package. Let's manually install it during setup.
2025-01-21 11:44:49 -08:00
3 changed files with 4 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ inputs:
version: version:
description: LLVM version to use # Should be kept roughly in sync with arcanist description: LLVM version to use # Should be kept roughly in sync with arcanist
required: false required: false
default: 12 default: 18
runs: runs:
using: "composite" using: "composite"

View File

@@ -16,6 +16,7 @@ runs:
if: ${{ inputs.toolchain == 'Clang' }} if: ${{ inputs.toolchain == 'Clang' }}
shell: bash shell: bash
run: | run: |
sudo apt-get install -y libc++-dev libc++abi-dev
echo "CC=/usr/bin/clang" >> $GITHUB_ENV echo "CC=/usr/bin/clang" >> $GITHUB_ENV
echo "CXX=/usr/bin/clang++" >> $GITHUB_ENV echo "CXX=/usr/bin/clang++" >> $GITHUB_ENV
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV

View File

@@ -107,3 +107,5 @@ jobs:
- name: clang-format - name: clang-format
uses: ./.github/actions/clang-format uses: ./.github/actions/clang-format
with:
directory: yoga