Fix Valkey binary build workflow, version support changes. (#1429)

This change makes the binary build on the target ubuntu version.

This PR also deprecated ubuntu18 and valkey will not support:

- X86:
  - Ubuntu 20
  - Ubuntu 22
  - Ubuntu 24
 - ARM:
   - Ubuntu 20
   - Ubuntu 22
   
Removed ARM ubuntu 24 as the action we are using for ARM builds does not
support Ubuntu 24.

---------

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
This commit is contained in:
Roshan Khatri 2024-12-12 14:46:35 -08:00 committed by GitHub
parent ab69a8a55d
commit 3a1043a4f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 15 deletions

View File

@ -35,7 +35,7 @@ jobs:
build-valkey:
# Capture source tarball and generate checksum for it
name: Build package ${{ matrix.distro.target }} ${{ matrix.distro.arch }}
runs-on: "ubuntu-latest"
runs-on: ${{matrix.distro.target}}
strategy:
fail-fast: false
matrix: ${{ fromJSON(inputs.build_matrix) }}

View File

@ -1,28 +1,23 @@
{
"linux_targets": [
{
"arch": "x86_64",
"target": "ubuntu18.04",
"type": "deb",
"platform": "bionic"
},
{
"arch": "x86_64",
"target": "ubuntu20.04",
"target": "ubuntu-20.04",
"type": "deb",
"platform": "focal"
},
{
"arch": "x86_64",
"target": "ubuntu24.04",
"target": "ubuntu-22.04",
"type": "deb",
"platform": "noble"
"platform": "jammy"
},
{
"arch": "arm64",
"target": "ubuntu18.04",
"arch": "x86_64",
"target": "ubuntu-24.04",
"type": "deb",
"platform": "bionic"
"platform": "noble"
},
{
"arch": "arm64",
@ -32,9 +27,9 @@
},
{
"arch": "arm64",
"target": "ubuntu24.04",
"target": "ubuntu22.04",
"type": "deb",
"platform": "noble"
"platform": "jammy"
}
]
}