diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 466a603b..71093a3d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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