|
9 | 9 | workflow_dispatch: |
10 | 10 |
|
11 | 11 | jobs: |
12 | | - test-x86: |
13 | | - uses: ./.github/workflows/macos_job.yml |
14 | | - with: |
15 | | - job-name: "macos-x86-64-py3.8" |
16 | | - runner: macos-12 |
17 | | - test-infra-repository: ${{ github.repository }} |
18 | | - test-infra-ref: ${{ github.ref }} |
19 | | - script: | |
20 | | - conda create --yes --quiet -n test python=3.8 |
21 | | - conda activate test |
22 | | - python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cpu --pre torch |
23 | | - # Can import pytorch |
24 | | - python3 -c 'import torch' |
25 | 12 | test-m1: |
26 | 13 | uses: ./.github/workflows/macos_job.yml |
27 | 14 | with: |
28 | | - job-name: "macos-arm64-py3.8" |
| 15 | + job-name: "macos-arm64-py3.10" |
29 | 16 | runner: macos-m1-stable |
30 | 17 | test-infra-repository: ${{ github.repository }} |
31 | 18 | test-infra-ref: ${{ github.ref }} |
32 | 19 | submodules: ${{ 'true' }} |
33 | 20 | timeout: 60 |
34 | 21 | script: | |
35 | | - conda create --yes --quiet -n test python=3.8 |
| 22 | + conda create --yes --quiet -n test python=3.10 |
36 | 23 | conda activate test |
37 | 24 | python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cpu --pre torch |
38 | 25 | # Can import pytorch, cuda is available |
39 | 26 | python3 -c 'import torch' |
40 | | - test-x86-with-repo: |
41 | | - uses: ./.github/workflows/macos_job.yml |
42 | | - with: |
43 | | - job-name: "macos-x86-64-py3.8" |
44 | | - runner: macos-12 |
45 | | - test-infra-repository: ${{ github.repository }} |
46 | | - test-infra-ref: ${{ github.ref }} |
47 | | - repository: pytorch/vision |
48 | | - ref: main |
49 | | - script: | |
50 | | - conda create --yes --quiet -n test python=3.8 |
51 | | - conda activate test |
52 | | - python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cpu --pre torch |
53 | | - # Can import pytorch |
54 | | - python3 -c 'import torch' |
55 | 27 | test-m1-with-repo: |
56 | 28 | uses: ./.github/workflows/macos_job.yml |
57 | 29 | with: |
58 | | - job-name: "macos-arm64-py3.8" |
| 30 | + job-name: "macos-arm64-py3.10" |
59 | 31 | runner: macos-m1-stable |
60 | 32 | test-infra-repository: ${{ github.repository }} |
61 | 33 | test-infra-ref: ${{ github.ref }} |
|
64 | 36 | ref: main |
65 | 37 | timeout: 60 |
66 | 38 | script: | |
67 | | - conda create --yes --quiet -n test python=3.8 |
| 39 | + conda create --yes --quiet -n test python=3.10 |
68 | 40 | conda activate test |
69 | 41 | python3 -m pip install --index-url https://download.pytorch.org/whl/nightly/cpu --pre torch |
70 | 42 | # Can import pytorch, cuda is available |
|
105 | 77 | matrix: |
106 | 78 | include: |
107 | 79 | - runner: macos-m1-stable |
108 | | - - runner: macos-13-xlarge |
109 | 80 | fail-fast: false |
110 | 81 | with: |
111 | 82 | job-name: "test-secrets-no-filter-var" |
|
121 | 92 | matrix: |
122 | 93 | include: |
123 | 94 | - runner: macos-m1-stable |
124 | | - - runner: macos-13-xlarge |
125 | 95 | fail-fast: false |
126 | 96 | with: |
127 | 97 | job-name: "test-secrets-filter-var" |
|
0 commit comments