Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LMBooth authored Oct 27, 2023
1 parent 7bb9055 commit 2cd4c15
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,22 @@ environment:
matrix:
fast_finish: true


install:
# Install Python 3.9 for max and linux
- sh: |
if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "ubuntu" ]]; then
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt-get update
sudo apt-get install -y python3.9 python3.9-venv python3.9-dev python3-pip
python3.9 -m pip install --upgrade pip
which python3.9
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
sudo update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.9 1
elif [[ $APPVEYOR_BUILD_WORKER_IMAGE == "macOS" ]]; then
brew install [email protected]
ln -s /usr/local/opt/[email protected]/bin/python3.9 /usr/local/bin/python3
ln -s /usr/local/opt/[email protected]/bin/pip3.9 /usr/local/bin/pip3
fi
if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "ubuntu" ]]; then
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt-get update
sudo apt-get install -y python3.9 python3.9-venv python3.9-dev python3-pip
python3.9 -m pip install --upgrade pip
which python3.9
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
sudo update-alternatives --install /usr/bin/pip3 pip3 /usr/bin/pip3.9 1
elif [[ $APPVEYOR_BUILD_WORKER_IMAGE == "macOS" ]]; then
brew install [email protected]
ln -s /usr/local/opt/[email protected]/bin/python3.9 /usr/local/bin/python3
ln -s /usr/local/opt/[email protected]/bin/pip3.9 /usr/local/bin/pip3
fi
- sh: |
if [[ $APPVEYOR_BUILD_WORKER_IMAGE == "ubuntu" ]]; then
Expand Down

0 comments on commit 2cd4c15

Please sign in to comment.