Skip to content

Commit

Permalink
Change python alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Paco Wong committed Nov 25, 2023
1 parent c3db518 commit c3dc25c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/generate-xcframework-maccatalyst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ jobs:
- name: check Xcode version and Python 3
run: |
/usr/bin/xcodebuild -version
brew uninstall --ignore-dependencies [email protected]
brew install [email protected]
brew install python3
#brew uninstall --ignore-dependencies [email protected]
#brew install [email protected]
#brew install python3
alias python3=/opt/homebrew/bin/python3
alias python=/opt/homebrew/bin/python3
python3 --version
python --version
Expand All @@ -39,7 +41,7 @@ jobs:
run: |
# Since Python 3.12, distutils is removed
# pip3 install setuptools
pip3 install -r tools/ci_build/requirements.txt
python3 tools/ci_build/github/apple/build_macabi_framework.py --config=Release --build_dir=$HOME/onnxlibrary/macabi_release_v20230327_2320 \
pip install -r tools/ci_build/requirements.txt
python tools/ci_build/github/apple/build_macabi_framework.py --config=Release --build_dir=$HOME/onnxlibrary/macabi_release_v20230327_2320 \
--include_ops_by_config=tools/ci_build/github/apple/hws_mobile_package.required_operators.config \
--path_to_protoc_exe=/usr/local/bin/protoc-3.21.12.0 tools/ci_build/github/apple/default_full_macabi_framework_build_settings.json

0 comments on commit c3dc25c

Please sign in to comment.