Skip to content

Conversation

kemingy
Copy link
Member

@kemingy kemingy commented Dec 26, 2024

  • sqllogictest-rs doesn't have Linux ARM64 release, tracked here
  • add rust-toolchain channel to image tag
  • use arm64 runner for clippy/build & release

Signed-off-by: Keming <kemingyang@tensorchord.ai>
Signed-off-by: Keming <kemingyang@tensorchord.ai>
@kemingy kemingy requested a review from Copilot December 26, 2024 04:38
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • docker/pgrx.Dockerfile: Language not supported
Comments suppressed due to low confidence (2)

.github/workflows/pgrx.yml:50

  • Ensure that the channel parameter is correctly passed and utilized in the build-args and tags. Add tests to verify the behavior with different channel values.
TOOLCHAIN_CHANNEL=${{ github.event.inputs.channel }}

.github/workflows/pgrx.yml:47

  • Verify that the platforms parameter is correctly formatted and ensure that the multi-architecture build works as expected. Add tests to cover the behavior for different platforms.
platforms: "linux/amd64,linux/arm64"

Signed-off-by: Keming <kemingyang@tensorchord.ai>
Signed-off-by: Keming <kemingyang@tensorchord.ai>
@kemingy kemingy requested review from VoVAllen and usamoi December 26, 2024 05:18
needs: ["semver"]
strategy:
matrix:
version: ["14", "15", "16", "17"]
arch: ["x86_64", "aarch64"]
runner: ["ubicloud-standard-4", "ubicloud-standard-4-arm"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
runner: ["ubicloud-standard-4", "ubicloud-standard-4-arm"]
arch: ["x86_64", "aarch64"]

@@ -33,15 +33,17 @@ jobs:
core.setOutput('SEMVER', tag);

build:
runs-on: ubuntu-latest
runs-on: ${{ matrix.runner }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
runs-on: ${{ matrix.runner }}
runs-on: ${{ matrix.arch == 'x86_64' && 'ubicloud-standard-4' || 'ubicloud-standard-4-arm' }}

@usamoi
Copy link
Contributor

usamoi commented Dec 26, 2024

  • sqllogictest-rs doesn't have Linux ARM64 release, tracked here

We could fork and cross compile it.

@kemingy
Copy link
Member Author

kemingy commented Dec 26, 2024

  • sqllogictest-rs doesn't have Linux ARM64 release, tracked here

We could fork and cross compile it.

Will fork it if they have no response in 24h.

Signed-off-by: Keming <kemingyang@tensorchord.ai>
Signed-off-by: Keming <kemingyang@tensorchord.ai>
@kemingy kemingy merged commit 01835f0 into tensorchord:main Dec 27, 2024
10 checks passed
@kemingy kemingy deleted the pgrx_multiarch branch December 27, 2024 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants