Skip to content

Commit

Permalink
add macosx deployment target to env
Browse files Browse the repository at this point in the history
  • Loading branch information
ejm714 committed May 16, 2024
1 parent dc1d364 commit bc4a222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
run: |
brew install ffmpeg@4
echo "/opt/homebrew/opt/ffmpeg@4/bin" >> $GITHUB_PATH
echo "MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion)" >> $GITHUB_ENV
- name: Configure Windows compilers
uses: ilammy/msvc-dev-cmd@v1
Expand All @@ -93,7 +94,6 @@ jobs:
run: |
uv pip install flit-core
# torch is alread installed, so just add the densepose extra
export MACOSX_DEPLOYMENT_TARGET=${sw_vers -productVersion if runner.os == 'macos-latest' else None}
uv pip install -e .[densepose] --no-build-isolation
make densepose-tests
Expand Down

0 comments on commit bc4a222

Please sign in to comment.