Skip to content

Commit 32d14f0

Browse files
vorburgercushon
authored andcommitted
Build native on Ubuntu 20.04 instead of latest 22.04 (re. google#1072).
This MAY (?) help re. libc.so.6 (GLIBC_2.34) for google#1072.
1 parent 29b7f93 commit 32d14f0

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ jobs:
7777
strategy:
7878
fail-fast: false
7979
matrix:
80-
os: [ubuntu-latest, macos-latest, windows-latest]
80+
# Use "oldest" available ubuntu-* instead of -latest,
81+
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories;
82+
# due to https://github.com/google/google-java-format/issues/1072.
83+
os: [ubuntu-20.04, macos-latest, windows-latest]
8184
runs-on: ${{ matrix.os }}
8285
continue-on-error: true
8386
steps:

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ jobs:
8686
needs: build-maven-jars
8787
strategy:
8888
matrix:
89-
os: [ubuntu-latest, macos-latest, windows-latest]
89+
# Use "oldest" available ubuntu-* instead of -latest,
90+
# see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories;
91+
# due to https://github.com/google/google-java-format/issues/1072.
92+
os: [ubuntu-20.04, macos-latest, windows-latest]
9093
env:
9194
SUFFIX: ${{fromJson('{"ubuntu-latest":"linux-x86-64", "macos-latest":"darwin-arm64", "windows-latest":"windows-x86-64"}')[matrix.os]}}
9295
EXTENSION: ${{ matrix.os == 'windows-latest' && '.exe' || '' }}

0 commit comments

Comments
 (0)