File tree 3 files changed +1
-18
lines changed
3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,6 @@ case $(uname) in
22
22
;;
23
23
esac
24
24
25
- if [[ " ${OS_TYPE} " == " macos" && $( uname -m) == x86_64 ]]; then
26
- echo ' ::group::Uninstall system JPEG libraries on macOS'
27
- # The x86 macOS runners, e.g. the GitHub Actions native "macos-12" runner, has some JPEG and PNG libraries
28
- # installed by default that interfere with our build. We uninstall them here and use the one from conda below.
29
- IMAGE_LIBS=$( brew list | grep -E " jpeg|png" )
30
- for lib in $IMAGE_LIBS ; do
31
- brew uninstall --ignore-dependencies --force " ${lib} "
32
- done
33
- echo ' ::endgroup::'
34
- fi
35
-
36
25
echo ' ::group::Create build environment'
37
26
# See https://github.com/pytorch/vision/issues/7296 for ffmpeg
38
27
conda create \
Original file line number Diff line number Diff line change 40
40
strategy :
41
41
matrix :
42
42
include :
43
- - runner : macos-12
44
43
- runner : macos-m1-stable
45
44
fail-fast : false
46
45
uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
Original file line number Diff line number Diff line change @@ -53,16 +53,11 @@ jobs:
53
53
- " 3.10"
54
54
- " 3.11"
55
55
- " 3.12"
56
- runner : ["macos-12"]
57
- include :
58
- - python-version : " 3.8"
59
- runner : macos-m1-stable
56
+ runner : ["macos-m1-stable"]
60
57
fail-fast : false
61
58
uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
62
59
with :
63
60
repository : pytorch/vision
64
- # We need an increased timeout here, since the macos-12 runner is the free one from GH
65
- # and needs roughly 2 hours to just run the test suite
66
61
timeout : 240
67
62
runner : ${{ matrix.runner }}
68
63
test-infra-ref : main
You can’t perform that action at this time.
0 commit comments