Skip to content

Commit

Permalink
ci: Use ubuntu-22.04 for releases
Browse files Browse the repository at this point in the history
LLVM 16.0.4, which is our hermetic toolchain, requires Ubuntu 22.04. On 20.04, it fails with:
```
external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang)
external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang)
external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang)
external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang)
external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang)
external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang: /lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by external/toolchains_llvm~0.10.3~llvm~llvm_toolchain_llvm/bin/clang)
```
  • Loading branch information
fmeum authored and kyakdan committed Aug 19, 2024
1 parent 075fcb9 commit 55305b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-20.04
- os: ubuntu-22.04
name: linux
- os: macos-11
name: macos
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
if-no-files-found: error

merge_jars:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: build_release

steps:
Expand All @@ -88,8 +88,6 @@ jobs:
if-no-files-found: error

maven_predeploy:
# TODO: Our hermetic toolchain doesn't support ubuntu-latest yet and fails with:
# external/llvm_toolchain_llvm/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
runs-on: ubuntu-22.04
needs: merge_jars

Expand Down Expand Up @@ -129,7 +127,7 @@ jobs:

create_release:
needs: build_release
runs-on: ubuntu-latest
runs-on: ubuntu-22.m04

permissions:
contents: write # for creating releases
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
docker_push:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

environment:
name: Deploy
Expand All @@ -20,7 +20,7 @@ jobs:
run: docker/push_all.sh

generate_docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: checkout
Expand All @@ -44,7 +44,7 @@ jobs:
if-no-files-found: error

update_docs:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: generate_docs

environment:
Expand Down

0 comments on commit 55305b5

Please sign in to comment.