3737 # Only run scheduled CI on main repo
3838 if : (github.repository == 'openxla/stablehlo' || github.event_name != 'schedule')
3939 name : " cmake-build ${{ github.event_name == 'schedule' && '(llvm-project@HEAD)' || ''}}"
40- env :
41- LLVM_PROJECT_DIR : " llvm-project"
42- LLVM_BUILD_DIR : " llvm-build"
43- STABLEHLO_BUILD_DIR : " stablehlo-build"
44- STABLEHLO_PYTHON_BUILD_DIR : " stablehlo-python-build"
4540 strategy :
4641 fail-fast : false
4742 runs-on : ${{ github.repository == 'openxla/stablehlo' && 'ubuntu-22.04-64core' || 'ubuntu-22.04' }}
@@ -66,27 +61,12 @@ jobs:
6661 with :
6762 llvm-version : ${{ steps.llvm-version.outputs.version }}
6863
69- - name : Configure and Build LLVM
70- shell : bash
71- run : |
72- ./build_tools/github_actions/ci_build_cmake_llvm.sh "$LLVM_PROJECT_DIR" "$LLVM_BUILD_DIR"
73- env :
74- CMAKE_BUILD_TYPE : Release
75- MLIR_ENABLE_BINDINGS_PYTHON : ON
76-
7764 - name : Build and Test StableHLO (with AddressSanitizer)
7865 shell : bash
7966 run : |
80- ./build_tools/github_actions/ci_build_cmake.sh "$LLVM_BUILD_DIR" "$STABLEHLO_BUILD_DIR"
81- env :
82- CMAKE_BUILD_TYPE : Release
83- STABLEHLO_ENABLE_BINDINGS_PYTHON : OFF
84- STABLEHLO_ENABLE_SANITIZER : address
67+ cmake --build --preset debug --target check-stablehlo-ci
8568
8669 - name : Build and Test StableHLO (with Python bindings)
8770 shell : bash
8871 run : |
89- ./build_tools/github_actions/ci_build_cmake.sh "$LLVM_BUILD_DIR" "$STABLEHLO_BUILD_DIR"
90- env :
91- CMAKE_BUILD_TYPE : Release
92- STABLEHLO_ENABLE_BINDINGS_PYTHON : ON
72+ cmake --build --preset debug-python --target check-stablehlo-ci
0 commit comments