-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update glibc version used on CI to 2.28
This is required because the GitHub Actions no longer supports the legacy base image that used 2.17.
- Loading branch information
Showing
3 changed files
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
sha: ${{ env.HQ_SHA }} | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Set version | ||
run: | | ||
echo "HQ_VERSION=${{ inputs.version || 'dev' }}" | tee -a $GITHUB_ENV | ||
|
@@ -33,19 +33,13 @@ jobs: | |
build-binaries-x64: | ||
needs: [ set-env ] | ||
runs-on: ubuntu-latest | ||
env: | ||
# We need to avoid using NodeJS v20, because it doesn't work with glibc 2.17. | ||
# See https://github.com/actions/checkout/issues/1809. | ||
ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 | ||
ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | ||
# Use a container with GLIBC 2.17 | ||
container: quay.io/pypa/manylinux2014_x86_64 | ||
# Use a container with GLIBC 2.28 | ||
container: quay.io/pypa/manylinux_2_28_x86_64 | ||
steps: | ||
- name: Show GLIBC | ||
run: ldd --version | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-env.outputs.sha }} | ||
- name: Install stable toolchain | ||
|
@@ -96,7 +90,7 @@ jobs: | |
name: arm64-linux | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ needs.set-env.outputs.sha }} | ||
- name: Install stable toolchain | ||
|
@@ -136,7 +130,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- uses: Swatinem/[email protected] | ||
with: | ||
key: pyhq | ||
|
@@ -148,7 +142,7 @@ jobs: | |
with: | ||
docker-options: -e HQ_BUILD_VERSION=${{ needs.set-env.outputs.version }} | ||
maturin-version: 1.3.0 | ||
manylinux: 2014 | ||
manylinux: 2_28 | ||
command: build | ||
args: --manifest-path crates/pyhq/Cargo.toml --profile dist --out wheels | ||
- name: Install Python wheel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters