File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 15
15
jobs :
16
16
linux :
17
17
uses : pytorch/test-infra/.github/workflows/linux_job.yml@main
18
- strategy :
19
- matrix :
20
- include :
21
- - build-tool : buck2
22
18
with :
23
19
runner : linux.2xlarge
24
20
docker-image : ${{ inputs.docker-image }}
@@ -32,16 +28,16 @@ jobs:
32
28
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
33
29
conda activate "${CONDA_ENV}"
34
30
35
- BUILD_TOOL=${{ matrix.build-tool }}
36
-
37
31
# Setup MacOS dependencies as there is no Docker support on MacOS atm
38
32
PYTHON_EXECUTABLE=python \
39
33
EXECUTORCH_BUILD_PYBIND=ON \
40
34
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
41
- .ci/scripts/setup-linux.sh "${BUILD_TOOL}"
35
+ .ci/scripts/setup-linux.sh cmake
42
36
43
37
# Run pytest with coverage
44
38
pytest -n auto --cov=./ --cov-report=xml
39
+ # Run gtest
40
+ sh test/run_oss_cpp_tests.sh
45
41
46
42
macos :
47
43
uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
You can’t perform that action at this time.
0 commit comments