Skip to content

Commit

Permalink
Build on ubuntu:20.04, fixes #812
Browse files Browse the repository at this point in the history
 * building on ubuntu:22.04 produces binaries which require too recent glibc
   version (2.32+) and that means the binary no longer works on
   older ubuntu versions, like 20.04 and 18.04.

 * building on ubuntu:20.04 fixes the problem and the binary again works
   on ubuntu 18.04 and 20.04

 * also bumped the version in the release workflow which got forgotten
  • Loading branch information
psiroky committed Mar 13, 2023
1 parent e1815e5 commit 8a47d68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/early-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
default-build:
name: 'Default build (without Graal)'
if: startsWith(github.event.head_commit.message, '[release] Release ') != true
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
steps:
- name: 'Checkout'
uses: actions/checkout@v2
Expand All @@ -52,7 +52,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04, macOS-10.15, windows-2019 ]
os: [ ubuntu-20.04, macOS-10.15, windows-2019 ]
runs-on: ${{ matrix.os }}

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
os: [ ubuntu-20.04, macOS-10.15, windows-2019 ]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
source:
name: 'Build source distributions'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: 'Check out repository'
uses: actions/checkout@v2
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
target/maven-mvnd-*.tar.gz
release:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: [build, source]

steps:
Expand Down

0 comments on commit 8a47d68

Please sign in to comment.