File tree Expand file tree Collapse file tree 1 file changed +44
-1
lines changed Expand file tree Collapse file tree 1 file changed +44
-1
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,56 @@ jobs:
16
16
apple :
17
17
uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
18
18
strategy :
19
+ fail-fast : false
19
20
matrix :
20
- preset : [macos-arm64]
21
+ preset : [macos-arm64, pybind ]
21
22
with :
22
23
job-name : build
24
+ ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
23
25
runner : macos-latest-xlarge
24
26
python-version : 3.12
25
27
submodules : recursive
28
+ timeout : 90
29
+ script : |
30
+ set -eux
31
+ ${CONDA_RUN} ./install_requirements.sh > /dev/null
32
+ ${CONDA_RUN} cmake --preset ${{ matrix.preset }}
33
+ ${CONDA_RUN} cmake --build cmake-out --parallel
34
+
35
+ linux-x86_64 :
36
+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
37
+ strategy :
38
+ fail-fast : false
39
+ matrix :
40
+ preset : [pybind]
41
+ with :
42
+ job-name : build
43
+ ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
44
+ runner : linux.2xlarge
45
+ docker-image : executorch-ubuntu-22.04-clang12
46
+ python-version : 3.12
47
+ submodules : recursive
48
+ timeout : 90
49
+ script : |
50
+ set -eux
51
+ ${CONDA_RUN} ./install_requirements.sh > /dev/null
52
+ ${CONDA_RUN} cmake --preset ${{ matrix.preset }}
53
+ ${CONDA_RUN} cmake --build cmake-out --parallel
54
+
55
+ linux-arm64 :
56
+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
57
+ strategy :
58
+ fail-fast : false
59
+ matrix :
60
+ preset : [pybind]
61
+ with :
62
+ job-name : build
63
+ ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
64
+ runner : linux.arm64.2xlarge
65
+ docker-image : executorch-ubuntu-22.04-gcc11-aarch64
66
+ python-version : 3.12
67
+ submodules : recursive
68
+ timeout : 90
26
69
script : |
27
70
set -eux
28
71
${CONDA_RUN} ./install_requirements.sh > /dev/null
You can’t perform that action at this time.
0 commit comments