Skip to content

Commit fd3bb54

Browse files
committed
pybind ci
1 parent de1fc49 commit fd3bb54

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

.github/workflows/build-presets.yml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,56 @@ jobs:
1616
apple:
1717
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
1818
strategy:
19+
fail-fast: false
1920
matrix:
20-
preset: [macos-arm64]
21+
preset: [macos-arm64, pybind]
2122
with:
2223
job-name: build
24+
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
2325
runner: macos-latest-xlarge
2426
python-version: 3.12
2527
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
2669
script: |
2770
set -eux
2871
${CONDA_RUN} ./install_requirements.sh > /dev/null

0 commit comments

Comments
 (0)