From 0bf94adbce4ec4c013d33dc3ad5ebac53881eaed Mon Sep 17 00:00:00 2001 From: Paco Wong Date: Sat, 25 Nov 2023 21:01:54 +0800 Subject: [PATCH] Install package fromm requirements.txt --- .github/workflows/generate-xcframework-maccatalyst.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-xcframework-maccatalyst.yml b/.github/workflows/generate-xcframework-maccatalyst.yml index a757cd94d2604..4e967d843bac7 100644 --- a/.github/workflows/generate-xcframework-maccatalyst.yml +++ b/.github/workflows/generate-xcframework-maccatalyst.yml @@ -11,8 +11,10 @@ jobs: build_macabi_xcf: runs-on: macos-latest steps: - - name: check Xcode version - run: /usr/bin/xcodebuild -version + - name: check Xcode version and Python 3 + run: | + /usr/bin/xcodebuild -version + python3 --version - name: checkout repository uses: actions/checkout@v3 @@ -31,6 +33,7 @@ jobs: - name: create release build run: | + 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 \ --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