Skip to content

Commit

Permalink
Use venv in macos-14
Browse files Browse the repository at this point in the history
  • Loading branch information
lanctot committed Apr 8, 2024
1 parent 11f75b1 commit 582b45b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions open_spiel/scripts/ci_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ ${PYBIN} -m pip install --upgrade setuptools
if [[ "$OS" = "Linux" && ( "$OS_PYTHON_VERSION" = "3.9" || "$OS_PYTHON_VERSION" = "3.10" || "$OS_PYTHON_VERSION" = "3.11" ) ]]; then
# Ubuntu 22.04 must execute the virtual env this way:
${PYBIN} -m venv ./venv
elif [[ "$OS" = "Darwin" && "$OS_PYTHON_VERSION" = "3.12" ]]; then
${PYBIN} -m venv ./venv
else
# Ubuntu 20.04 and earlier
${PYBIN} -m pip install virtualenv
Expand Down

0 comments on commit 582b45b

Please sign in to comment.