diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-01-09 07:58:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-09 07:58:38 -0800 |
| commit | a75917679549109fcbf92cb63ef61638517713d6 (patch) | |
| tree | 6f3f1cffce2bcbf3bc59e1fad76a1a9e857d15fb /.github/workflows/libclang-python-tests.yml | |
| parent | 465a3ce9fac1fcf49d5772f70564973a73748d57 (diff) | |
[Github] Fix LLVM Project Tests Workflow on Linux (#122221)
This patch fixes the LLVM project tests workflow on Linux. Two changes
were needed. Firstly, some commands need to be performed with sudo now
that the container executes as a non-root user. Second, we needed to
change from `ubuntu-latest` to `ubuntu-22.04` as `ubuntu-latest` not
defaults to `ubuntu-24.04` which causes `setup-python` to install a
python executable linked against a newer version of glibc that is not
found on ubuntu 22.04, which causes failures when CMake cannot execute
the python interpreter that it finds.
Diffstat (limited to '.github/workflows/libclang-python-tests.yml')
| -rw-r--r-- | .github/workflows/libclang-python-tests.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/libclang-python-tests.yml b/.github/workflows/libclang-python-tests.yml index 801a70172478..d8f58c5b8d1c 100644 --- a/.github/workflows/libclang-python-tests.yml +++ b/.github/workflows/libclang-python-tests.yml @@ -37,5 +37,5 @@ jobs: projects: clang # There is an issue running on "windows-2019". # See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082. - os_list: '["ubuntu-latest"]' + os_list: '["ubuntu-22.04"]' python_version: ${{ matrix.python-version }} |
