Build on ubuntu:20.04, fixes #812 (#814)

* 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
This commit is contained in:
Petr Široký
2023-03-15 18:08:50 +01:00
committed by GitHub
parent eba51d2d7e
commit a59c7cd51c
2 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ jobs:
default-build: default-build:
name: 'Default build (without Graal)' name: 'Default build (without Graal)'
if: startsWith(github.event.head_commit.message, '[release] Release ') != true if: startsWith(github.event.head_commit.message, '[release] Release ') != true
runs-on: ubuntu-22.04 runs-on: ubuntu-20.04
steps: steps:
- name: 'Checkout' - name: 'Checkout'
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -52,7 +52,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ ubuntu-22.04, macOS-10.15, windows-2019 ] os: [ ubuntu-20.04, macOS-10.15, windows-2019 ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:

View File

@@ -35,7 +35,7 @@ jobs:
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ] os: [ ubuntu-20.04, macOS-10.15, windows-2019 ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
@@ -88,7 +88,7 @@ jobs:
source: source:
name: 'Build source distributions' name: 'Build source distributions'
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- name: 'Check out repository' - name: 'Check out repository'
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -121,7 +121,7 @@ jobs:
target/maven-mvnd-*.tar.gz target/maven-mvnd-*.tar.gz
release: release:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
needs: [build, source] needs: [build, source]
steps: steps: