Skip to content

Commit

Permalink
Fix CI after GHA Update to Ubuntu 24.04 (#1781)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #1781

This new image removed preinstalled libc++, and the ability to install old version of Clang Format we were installing.

This manually installs libc++ when setting up Clang jobs, and fully removes the clang-format validation job, since it wasn't correctly running before, and it's probably more a pain to ask people to run this than to just run Arcanist when importing a change.

Changelog: [Internal]

Reviewed By: joevilches

Differential Revision: D68455129

fbshipit-source-id: b5767be832b2b5d46db7e60e18b66823819ba15a
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Jan 21, 2025
1 parent 9591210 commit b12e0a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
23 changes: 0 additions & 23 deletions .github/actions/clang-format/action.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/actions/setup-cpp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ runs:
if: ${{ inputs.toolchain == 'Clang' }}
shell: bash
run: |
sudo apt-get install -y libc++-dev libc++abi-dev
echo "CC=/usr/bin/clang" >> $GITHUB_ENV
echo "CXX=/usr/bin/clang++" >> $GITHUB_ENV
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/validate-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,3 @@ jobs:
cmake -S . -B build -G Ninja -D CMAKE_BUILD_TYPE=Release
cmake --build build
working-directory: capture

clang-format:
name: Format
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: clang-format
uses: ./.github/actions/clang-format

0 comments on commit b12e0a2

Please sign in to comment.