Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip nxdrive fix python path in macos 14 #4861

Closed
wants to merge 10 commits into from
35 changes: 27 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,39 @@ jobs:
echo "${{ secrets.CERT_APP_MACOS }}" | base64 --decode > developerID_application.cer
echo "${{ secrets.PRIV_APP_MACOS }}" | base64 --decode > nuxeo-drive.priv

- name: "[macOS] Downloading Python"
if: matrix.os == 'macos-latest'
run: curl https://www.python.org/ftp/python/3.9.5/python-3.9.5-macosx10.9.pkg -o "python.pkg" # XXX_PYTHON

- name: "[macOS] Install Python"
if: matrix.os == 'macos-latest'
run: sudo installer -pkg python.pkg -target /
#- name: "[macOS] Downloading Python"
# if: matrix.os == 'macos-latest'
# run: curl https://www.python.org/ftp/python/3.9.5/python-3.9.5-macosx10.9.pkg -o "python.pkg" # XXX_PYTHON

#- name: "[macOS] Install Python"
# if: matrix.os == 'macos-latest'
# run: |
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# brew install pyenv
# pyenv install 3.9.5
# echo ">>>> Python Version: '$(python3 --version)'"
# pyenv global 3.9.5
# eval "$(pyenv init -)"
# eval "$(pyenv init --path)"
# eval "$(pyenv virtualenv-init -)"
# echo "sudo installer -pkg python.pkg -target /"
# echo ">>>> Current Python Version: '$(python3 --version)'"

- name: "[macOS] Setup the environment"
if: matrix.os == 'macos-latest'
env:
MACOSX_DEPLOYMENT_TARGET: "11.3"
SYSTEM_VERSION_COMPAT: 0
run: bash tools/osx/deploy_ci_agent.sh --install-release
run: |
bash tools/osx/deploy_ci_agent.sh --install-release
echo "-----python-----"
python3 --version

echo "---pwd---"
pwd

echo "---ls-a---"
ls -a

- name: "[macOS] Generate the .dmg and validate against 2021"
if: matrix.os == 'macos-latest'
Expand Down
Loading
Loading