Skip to content

Commit

Permalink
Build native on Ubuntu 20.04 instead of latest 22.04 (re. #1072).
Browse files Browse the repository at this point in the history
This MAY (?) help re. libc.so.6 (GLIBC_2.34) for
#1072.
  • Loading branch information
vorburger authored and cushon committed Feb 26, 2024
1 parent 29b7f93 commit 32d14f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Use "oldest" available ubuntu-* instead of -latest,
# 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;
# due to https://github.com/google/google-java-format/issues/1072.
os: [ubuntu-20.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ jobs:
needs: build-maven-jars
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Use "oldest" available ubuntu-* instead of -latest,
# 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;
# due to https://github.com/google/google-java-format/issues/1072.
os: [ubuntu-20.04, macos-latest, windows-latest]
env:
SUFFIX: ${{fromJson('{"ubuntu-latest":"linux-x86-64", "macos-latest":"darwin-arm64", "windows-latest":"windows-x86-64"}')[matrix.os]}}
EXTENSION: ${{ matrix.os == 'windows-latest' && '.exe' || '' }}
Expand Down

0 comments on commit 32d14f0

Please sign in to comment.