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