Skip to content

Commit 2c6355e

Browse files
ru551nclaude
andcommitted
CI: conda-forge Python
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent adac26e commit 2c6355e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎.github/workflows/python_bridge.yml‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,16 @@ jobs:
125125

126126
#
127127
# Linux with the Pythons users have besides python.org's: the one of the distribution
128-
# (libpython in the multiarch directory), the one uv installs (python-build-standalone)
129-
# and the one pyenv builds from source
128+
# (libpython in the multiarch directory), the one uv installs (python-build-standalone),
129+
# the one pyenv builds from source and conda-forge's (python executable linked statically)
130130
#
131131

132132
pythons:
133133
runs-on: ubuntu-24.04
134134
strategy:
135135
fail-fast: false
136136
matrix:
137-
python: [apt, uv, pyenv]
137+
python: [apt, uv, pyenv, conda]
138138
name: 'ubuntu-24.04 · Python from ${{ matrix.python }} · nvc'
139139
env:
140140
VUNIT_SIMULATOR: nvc
@@ -167,6 +167,11 @@ jobs:
167167
git clone --depth 1 https://github.com/pyenv/pyenv.git "$RUNNER_TEMP/pyenv"
168168
PYENV_ROOT="$RUNNER_TEMP/pyenv" "$RUNNER_TEMP/pyenv/bin/pyenv" install 3.13
169169
echo "PY=$(ls -d "$RUNNER_TEMP"/pyenv/versions/3.13*/bin/python3)" >> "$GITHUB_ENV" ;;
170+
conda)
171+
curl -fsSL -o miniforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
172+
bash miniforge.sh -b -p "$RUNNER_TEMP/miniforge"
173+
"$RUNNER_TEMP/miniforge/bin/conda" create -q -y -p "$RUNNER_TEMP/conda" python=3.13
174+
echo "PY=$RUNNER_TEMP/conda/bin/python" >> "$GITHUB_ENV" ;;
170175
esac
171176
172177
# As on python.org's Python: outside the checkout, with a space in the path

0 commit comments

Comments
 (0)