Skip to content

Commit

Permalink
Update mac.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ann0see authored Jun 20, 2024
1 parent e321495 commit 93bcc9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/autobuild/mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ setup() {
echo "Using Qt installation from previous run (actions/cache)"
else
echo "Installing Qt..."
# We may need to create the Qt installation directory and chown it to the runner user to fix permissions
sudo mkdir "${QT_DIR}"
sudo chown $(whoami) "${QT_DIR}"
# Create virtual environment
# Create and enter virtual environment
python3 -m venv venv
source venv/bin/activate
pip install "aqtinstall==${AQTINSTALL_VERSION}"
Expand All @@ -60,9 +61,8 @@ setup() {
qtmultimedia=("--modules")
fi
qtmultimedia+=("qtmultimedia")
ls ${QT_DIR}
python3 -m aqt install-qt --outputdir "${QT_DIR}" mac desktop "${QT_VERSION}" --archives qtbase qttools qttranslations "${qtmultimedia[@]}"
# remove venv as aqt is no longer needed from here on
# deactivate and remove venv as aqt is no longer needed from here on
deactivate
rm -rf venv
fi
Expand Down

0 comments on commit 93bcc9f

Please sign in to comment.