Skip to content

Commit

Permalink
ci: download graalvm inside build script
Browse files Browse the repository at this point in the history
  • Loading branch information
nmammeri committed Jul 15, 2024
1 parent e70f94a commit 7ffb37a
Show file tree
Hide file tree
Showing 5 changed files with 1,911 additions and 169 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
sccache: 'false'
target: ${{ matrix.platform.target }}
container: quay.io/pypa/manylinux_2_28_${{ matrix.platform.target }}:latest
before-script-linux: .github/workflows/install-graalvm-sdkman.sh 22.0.1-graalce
docker-options: "-e JAVA_HOME=/root/.sdkman/candidates/java/22.0.1-graalce -e GRAALVM_HOME=/root/.sdkman/candidates/java/22.0.1-graalce"
#before-script-linux: .github/workflows/install-graalvm-sdkman.sh 22.0.1-graalce
#docker-options: "-e JAVA_HOME=/root/.sdkman/candidates/java/22.0.1-graalce -e GRAALVM_HOME=/root/.sdkman/candidates/java/22.0.1-graalce"
#docker-options: "--mount type=bind,source=/opt/hostedtoolcache,target=/opt/hostedtoolcache -e JAVA_HOME -e GRAALVM_HOME"

# On linux we don't need to patch the wheel as the RPATH is set by the rustc compiler
Expand Down Expand Up @@ -104,11 +104,11 @@ jobs:
with:
python-version: '3.10'
architecture: ${{ matrix.platform.target }}
- uses: graalvm/[email protected]
with:
java-version: '22'
distribution: 'graalvm-community'
set-java-home: 'true'
# - uses: graalvm/[email protected]
# with:
# java-version: '22'
# distribution: 'graalvm-community'
# set-java-home: 'true'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -147,11 +147,11 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: graalvm/[email protected]
with:
java-version: '22'
distribution: 'liberica'
set-java-home: 'true'
# - uses: graalvm/[email protected]
# with:
# java-version: '22'
# distribution: 'liberica'
# set-java-home: 'true'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down
Loading

0 comments on commit 7ffb37a

Please sign in to comment.