minor CI fixes
This commit is contained in:
20
.github/workflows/validate_operations.yml
vendored
20
.github/workflows/validate_operations.yml
vendored
@@ -2,7 +2,7 @@ name: Validate Operations
|
||||
|
||||
env:
|
||||
LLVM_COMMIT: 0c2701fe7fa002e1befc5f86c268a7964f96d286
|
||||
PROTOBUF_COMMIT: v34.0
|
||||
PROTOBUF_REF: v34.0
|
||||
CMAKE_VERSION: 4.3.0
|
||||
MOLD_LINKER_FLAGS: -fuse-ld=mold
|
||||
|
||||
@@ -43,16 +43,16 @@ jobs:
|
||||
cmake --version
|
||||
which cmake
|
||||
|
||||
- name: Prepare MLIR cache
|
||||
- name: Prepare MLIR Cache
|
||||
uses: ./.github/actions/prepare-mlir-cache
|
||||
with:
|
||||
llvm-commit: ${{ env.LLVM_COMMIT }}
|
||||
mold-linker-flags: ${{ env.MOLD_LINKER_FLAGS }}
|
||||
|
||||
- name: Prepare protobuf cache
|
||||
- name: Prepare Protobuf Cache
|
||||
uses: ./.github/actions/prepare-protobuf-cache
|
||||
with:
|
||||
protobuf-commit: ${{ env.PROTOBUF_COMMIT }}
|
||||
protobuf-ref: ${{ env.PROTOBUF_REF }}
|
||||
mold-linker-flags: ${{ env.MOLD_LINKER_FLAGS }}
|
||||
|
||||
- name: Register installed libraries
|
||||
@@ -69,14 +69,14 @@ jobs:
|
||||
- name: Install Python dependencies
|
||||
run: pip install numpy onnx colorama
|
||||
|
||||
- name: Restore raptor build cache
|
||||
- name: Restore Raptor Build Cache
|
||||
id: restore-raptor-build-cache
|
||||
uses: ./.github/actions/restore-raptor-build-cache
|
||||
with:
|
||||
key: raptor-build-${{ runner.os }}-${{ github.ref_name }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_COMMIT }}-${{ env.CMAKE_VERSION }}-${{ github.sha }}
|
||||
key: raptor-build-${{ runner.os }}-${{ github.ref_name }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_REF }}-${{ env.CMAKE_VERSION }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
raptor-build-${{ runner.os }}-${{ github.ref_name }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_COMMIT }}-${{ env.CMAKE_VERSION }}-
|
||||
raptor-build-${{ runner.os }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_COMMIT }}-${{ env.CMAKE_VERSION }}-
|
||||
raptor-build-${{ runner.os }}-${{ github.ref_name }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_REF }}-${{ env.CMAKE_VERSION }}-
|
||||
raptor-build-${{ runner.os }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_REF }}-${{ env.CMAKE_VERSION }}-
|
||||
|
||||
- name: Build Raptor
|
||||
id: build-raptor
|
||||
@@ -92,11 +92,11 @@ jobs:
|
||||
-DCMAKE_MODULE_LINKER_FLAGS="${MOLD_LINKER_FLAGS}"
|
||||
cmake --build build
|
||||
|
||||
- name: Save raptor build cache
|
||||
- name: Save Raptor Build Cache
|
||||
if: steps.build-raptor.outcome == 'success' && steps.restore-raptor-build-cache.outputs.cache-hit != 'true'
|
||||
uses: ./.github/actions/save-raptor-build-cache
|
||||
with:
|
||||
key: raptor-build-${{ runner.os }}-${{ github.ref_name }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_COMMIT }}-${{ env.CMAKE_VERSION }}-${{ github.sha }}
|
||||
key: raptor-build-${{ runner.os }}-${{ github.ref_name }}-${{ env.LLVM_COMMIT }}-${{ env.PROTOBUF_REF }}-${{ env.CMAKE_VERSION }}-${{ github.sha }}
|
||||
|
||||
- name: Run validation
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user