build: lower ubuntu version from `24.04` to `22.04`

(cherry picked from commit fd8aacc1a4)
25.07.x
RoloEdits 2025-07-18 07:16:21 -07:00 committed by Michael Davis
parent 5cda70e866
commit 3c230c9b4a
No known key found for this signature in database
1 changed files with 6 additions and 3 deletions

View File

@ -61,12 +61,15 @@ jobs:
build: [x86_64-linux, aarch64-linux, x86_64-macos, x86_64-windows] #, x86_64-win-gnu, win32-msvc build: [x86_64-linux, aarch64-linux, x86_64-macos, x86_64-windows] #, x86_64-win-gnu, win32-msvc
include: include:
- build: x86_64-linux - build: x86_64-linux
os: ubuntu-24.04 # WARN: When changing this to a newer version, make sure that the GLIBC isnt too new, as this can cause issues
# with portablity on older systems that dont follow ubuntus more rapid release cadence.
os: ubuntu-22.04
rust: stable rust: stable
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
cross: false cross: false
- build: aarch64-linux - build: aarch64-linux
os: ubuntu-24.04-arm # Version should be kept in lockstep with the x86_64 version
os: ubuntu-22.04-arm
rust: stable rust: stable
target: aarch64-unknown-linux-gnu target: aarch64-unknown-linux-gnu
cross: false cross: false
@ -291,7 +294,7 @@ jobs:
file_glob: true file_glob: true
tag: ${{ github.ref_name }} tag: ${{ github.ref_name }}
overwrite: true overwrite: true
- name: Upload binaries as artifact - name: Upload binaries as artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: env.preview == 'true' if: env.preview == 'true'