Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for custom PyPI repository configuration#668

Add support for custom PyPI repository configuration

Add support for custom PyPI repository configuration #668

Workflow file for this run

name:Validate GraalPy e2e
on:
push:
branches:
-main
paths-ignore:
-'**.md'
pull_request:
paths-ignore:
-'**.md'
workflow_dispatch:
jobs:
setup-graalpy:
name:Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }}
runs-on:${{ matrix.os }}
strategy:
fail-fast:false
matrix:
os:
[
macos-latest,
ubuntu-22.04,
ubuntu-22.04-arm,
ubuntu-24.04-arm,
ubuntu-latest,
macos-15-intel
]
graalpy:
-'graalpy-22.3'
-'graalpy-23.0'
-'graalpy-23.1'
-'graalpy-24.1'
steps:
-name:Checkout
uses:actions/checkout@v5
-name:setup-python ${{ matrix.graalpy }}
id:setup-python
uses:./
with:
python-version:${{ matrix.graalpy }}
-name:Check python-path
run:./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}'
shell:bash
-name:GraalPy and Python version
run:python --version
-name:Run simple code
run:python -c 'import math; print(math.factorial(5))'
-name:Assert GraalPy is running
run:|
import platform
assert platform.python_implementation().lower() == "graalvm"
shell:python
-name:Assert expected binaries (or symlinks) are present
run:|
EXECUTABLE=${{ matrix.graalpy }}
EXECUTABLE=${EXECUTABLE/graalpy-/graalpy} # remove the first '-' in "graalpy-X.Y" -> "graalpyX.Y" to match executable name
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
${EXECUTABLE} --version
shell:bash
setup-graalpy-noenv:
name:Setup GraalPy ${{ matrix.graalpy }} ${{ matrix.os }} (noenv)
runs-on:${{ matrix.os }}
strategy:
fail-fast:false
matrix:
os:
[
macos-latest,
ubuntu-22.04,
ubuntu-22.04-arm,
ubuntu-24.04-arm,
ubuntu-latest,
macos-15-intel
]
graalpy:['graalpy22.3', 'graalpy23.0', 'graalpy23.1', 'graalpy24.1']
steps:
-name:Checkout
uses:actions/checkout@v5
-name:setup-python ${{ matrix.graalpy }}
id:setup-python
uses:./
with:
python-version:${{ matrix.graalpy }}
update-environment:false
-name:GraalPy and Python version
run:${{ steps.setup-python.outputs.python-path }} --version
-name:Run simple code
run:${{ steps.setup-python.outputs.python-path }} -c 'import math; print(math.factorial(5))'
check-latest:
runs-on:${{ matrix.os }}
strategy:
fail-fast:false
matrix:
os:[ubuntu-latest, windows-latest, macos-latest, macos-15-intel]
steps:
-uses:actions/checkout@v5
-name:Setup GraalPy and check latest
uses:./
id:graalpy
with:
python-version:'graalpy-24.x'
check-latest:true
-name:GraalPy and Python version
run:python --version
-name:Run simple code
run:python -c 'import math; print(math.factorial(5))'
-name:Assert GraalPy is running
run:|
import platform
assert platform.python_implementation().lower() == "graalvm"
shell:python
-name:Assert expected binaries (or symlinks) are present
run:|
EXECUTABLE='${{ steps.graalpy.outputs.python-version }}'
EXECUTABLE="${EXECUTABLE%.*}"
${EXECUTABLE} --version
shell:bash

[8]ページ先頭

©2009-2025 Movatter.jp