Skip to content

Commit 569dab9

Browse files
authored
Update workflow to use Ubuntu 22.04 and static link libstdc++/libgcc (#1501)
Fixes #1500
1 parent 875e2ba commit 569dab9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/make-plugin-linux.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
os: [ubuntu-24.04, ubuntu-24.04-arm]
22+
os: [ubuntu-22.04, ubuntu-22.04-arm]
2323
runs-on: ${{ matrix.os }}
2424
steps:
2525
- uses: actions/checkout@v4
@@ -77,9 +77,13 @@ jobs:
7777
# Also provide `bazel` symlink for tools that expect it
7878
sudo ln -sf /usr/local/bin/bazelisk /usr/local/bin/bazel
7979
bazelisk version
80-
- name: Build protoc-gen-grpc-web with Bazel
80+
- name: Build protoc-gen-grpc-web with Bazel (older glibc baseline)
8181
run: |
82-
bazelisk build //javascript/net/grpc/web/generator:protoc-gen-grpc-web
82+
# Partially static link libstdc++/libgcc to reduce GLIBCXX constraints
83+
bazelisk build \
84+
--linkopt=-static-libstdc++ \
85+
--linkopt=-static-libgcc \
86+
//javascript/net/grpc/web/generator:protoc-gen-grpc-web
8387
- name: Move artifact
8488
run: |
8589
mv bazel-bin/javascript/net/grpc/web/generator/protoc-gen-grpc-web \

0 commit comments

Comments
 (0)