Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 9409282

Browse files
test package mac arm
1 parent e1373f2 commit 9409282

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/python-package.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,18 @@ jobs:
5151
with:
5252
python-version: "3.11"
5353

54-
# - name: Install dependencies Windows and Linux
55-
# if: runner.os == 'windows' || runner.os == 'linux'
56-
# run: |
57-
# python3 -m pip install --upgrade pip
58-
# python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
54+
- name: Install dependencies Windows and Linux
55+
if: runner.os == 'windows' || runner.os == 'linux'
56+
run: |
57+
python3 -m pip install --upgrade pip
58+
python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.cuda.txt
5959
60-
# - name: Install dependencies Mac
61-
# if: runner.os == 'macOS'
62-
# run: |
63-
# python3 -m pip install --upgrade pip
64-
# python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.txt
60+
- name: Install dependencies Mac
61+
if: runner.os == 'macOS'
62+
run: |
63+
python3 -m pip install --upgrade pip
64+
python3 -m pip install -r ${{env.MODEL_DIR}}/requirements.txt
65+
6566
- name: prepare python package windows
6667
if : runner.os == 'windows'
6768
shell: cmd
@@ -79,7 +80,8 @@ jobs:
7980
echo "github end PYTHON_FOLDER: ${{env.PYTHON_FOLDER}}"
8081
8182
- name: Upload Artifact
83+
if : runner.os == 'macOS'
8284
uses: actions/upload-artifact@v4
8385
with:
8486
name: ${{env.MODEL_NAME}}-${{ matrix.os }}-${{ matrix.name }}
85-
path: ${{env.PYTHON_FOLDER}}
87+
path: /Library/Frameworks/Python.framework/Versions/3.11

0 commit comments

Comments
 (0)