Skip to content

Commit

Permalink
Try running CI on ubuntu-22.04
Browse files Browse the repository at this point in the history
To see if we may have any dependencies
that would prevent us from producing releases
on an older glibc.

References #47.
  • Loading branch information
michaelklishin committed Feb 16, 2025
1 parent d00c5c6 commit 0594958
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
jobs:
lint:
name: Lint
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand All @@ -39,8 +39,8 @@ jobs:
- stable
- beta
runner:
- "ubuntu-24.04"
# - "ubuntu-24.04-arm"
- "ubuntu-22.04"
# - "ubuntu-22.04-arm"
runs-on: ${{ matrix.runner }}

services:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
target_rustflags: ''
# Linux, x86-64
- target: x86_64-unknown-linux-gnu
os: ubuntu-24.04
os: ubuntu-22.04
target_rustflags: ''
# Linux, aarch64
- target: aarch64-unknown-linux-gnu
os: ubuntu-24.04-arm
os: ubuntu-22.04-arm
target_rustflags: ''

permissions:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Build an rabbitmqadmin release archive on x86-64 Linux
id: release-build-amd64-linux
if: ${{ matrix.os == 'ubuntu-24.04' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: nu ./scripts/release-linux.nu
env:
OS: ${{ matrix.os }}
Expand All @@ -88,7 +88,7 @@ jobs:
SRC: ${{ github.workspace }}
- name: Store x86-64 Linux build artifact
id: upload-amd64-linux-artifact
if: ${{ matrix.os == 'ubuntu-24.04' }}
if: ${{ matrix.os == 'ubuntu-22.04' }}
uses: actions/upload-artifact@v4
with:
name: "rabbitmqadmin-${{ vars.NEXT_RELESE_VERSION }}-${{ matrix.target }}"
Expand All @@ -97,7 +97,7 @@ jobs:

- name: Build an rabbitmqadmin release archive on aarch64 Linux
id: release-build-aarch64-linux
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
if: ${{ matrix.os == 'ubuntu-22.04-arm' }}
run: nu ./scripts/release-linux.nu
env:
OS: ${{ matrix.os }}
Expand All @@ -106,7 +106,7 @@ jobs:
SRC: ${{ github.workspace }}
- name: Store aarch64 Linux build artifact
id: upload-aarch64-linux-artifact
if: ${{ matrix.os == 'ubuntu-24.04-arm' }}
if: ${{ matrix.os == 'ubuntu-22.04-arm' }}
uses: actions/upload-artifact@v4
with:
name: "rabbitmqadmin-${{ vars.NEXT_RELESE_VERSION }}-${{ matrix.target }}"
Expand All @@ -133,7 +133,7 @@ jobs:

create_gh_release:
needs: [release]
runs-on: ubuntu-24.04
runs-on: ubuntu-22.04
steps:
- name: Fetch macOS archive
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 0594958

Please sign in to comment.