-
Notifications
You must be signed in to change notification settings - Fork 35
feat: build multiarch pgrx image #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Keming <kemingyang@tensorchord.ai>
There was a problem hiding this 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 differentchannel
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>
needs: ["semver"] | ||
strategy: | ||
matrix: | ||
version: ["14", "15", "16", "17"] | ||
arch: ["x86_64", "aarch64"] | ||
runner: ["ubicloud-standard-4", "ubicloud-standard-4-arm"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runs-on: ${{ matrix.runner }} | |
runs-on: ${{ matrix.arch == 'x86_64' && 'ubicloud-standard-4' || 'ubicloud-standard-4-arm' }} |
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>
e32fb44
to
c5afe8e
Compare
sqllogictest-rs
doesn't have Linux ARM64 release, tracked here