Skip to content

Commit

Permalink
chore(ci): release with musl (#16460)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Sep 18, 2024
1 parent cbbd4e3 commit f613f1c
Showing 1 changed file with 30 additions and 6 deletions.
36 changes: 30 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,30 @@ jobs:
cp ./target/${{ matrix.target }}/${{ env.BUILD_PROFILE }}/databend-* ./target/${{ env.BUILD_PROFILE }}/
bash ./scripts/ci/ci-run-sqllogic-tests.sh base
build_musl:
runs-on: [self-hosted, X64, Linux, 16c32g, aws]
needs: create_release
strategy:
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ needs.create_release.outputs.sha }}
fetch-depth: 0
- name: Build Release
uses: ./.github/actions/build_linux
env:
DATABEND_RELEASE_VERSION: ${{ needs.create_release.outputs.version }}
with:
sha: ${{ github.sha }}
target: ${{ matrix.target }}
artifacts: query,meta,metactl

build_udf:
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 16c32g, aws]
needs: create_release
Expand Down Expand Up @@ -183,24 +207,24 @@ jobs:
category: hdfs

publish:
runs-on: [self-hosted, "${{ matrix.runner }}", Linux, 4c8g, aws]
needs: [create_release, build_default, build_hdfs]
runs-on: [self-hosted, X64, Linux, 4c8g, aws]
needs: [create_release, build_default, build_musl, build_hdfs]
strategy:
fail-fast: false
matrix:
include:
- category: default
target: x86_64-unknown-linux-gnu
runner: X64
- category: default
target: aarch64-unknown-linux-gnu
runner: ARM64
- category: default
target: x86_64-unknown-linux-musl
- category: default
target: aarch64-unknown-linux-musl
- category: hdfs
target: x86_64-unknown-linux-gnu
runner: X64
- category: hdfs
target: aarch64-unknown-linux-gnu
runner: ARM64
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit f613f1c

Please sign in to comment.