Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Aug 7, 2024
1 parent 80ba6b0 commit 343f183
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/repackage_graalpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ env:

jobs:
build_linux:
name: Linux ${{ inputs.graalpy_version }} ${{ matrix.arch }}
name: Linux ${{ inputs.graalpy_version }} ${{ matrix.distribution }} ${{ matrix.arch }}
if: ${{ contains(inputs.platforms, 'linux') }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: [x86_64, aarch64]
distribution: ["", jvm, community, community-jvm]
distribution: [standard, jvm, community, community-jvm]
exclude:
- arch: ${{ !contains(inputs.platforms, 'linux-x86_64') && 'x86_64' || '' }}
- arch: ${{ !contains(inputs.platforms, 'linux-aarch64') && 'aarch64' || '' }}
Expand Down
6 changes: 5 additions & 1 deletion scripts/repackage_graalpy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ function repackage_graal () {
}

if [[ "${PLATFORM}" == "linux" ]]; then
repackage_graal "${DISTRIBUTION}"
if [[ "${MATRIX_DISTRIBUTION}" == "standard" ]]; then
repackage_graal
else
repackage_graal "${MATRIX_DISTRIBUTION}"
fi
else
repackage_graal
repackage_graal jvm
Expand Down

0 comments on commit 343f183

Please sign in to comment.