Skip to content

Commit

Permalink
install python via conda
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Nov 6, 2023
1 parent 510db4a commit 1335b56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python-version: ["3.10", "3.11", "3.12"]
container:
# Use CentOS 7 for an old glibc version, so the wheel has broad manylinux compatibility.
image: "rapidsai/ci-conda:cuda12.0.1-centos7-py${{ matrix.python-version }}"
image: "rapidsai/ci-conda:cuda12.0.1-centos7-py3.10
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -39,4 +39,4 @@ jobs:
id: get-pr-info
uses: rapidsai/shared-actions/get-pr-info@main
- name: Run build_wheel.sh
run: ci/build_wheel.sh
run: ci/build_wheel.sh ${{ matrix.python-version }}
3 changes: 3 additions & 0 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

set -e

python_version="${1:-3.10}"
conda install -y python="$python_version"

rapids-logger "Install CUDA Toolkit"
yum update
yum install -y epel-release
Expand Down

0 comments on commit 1335b56

Please sign in to comment.