minor CI fixes
This commit is contained in:
@@ -12,7 +12,7 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Restore MLIR cache
|
||||
- name: Restore MLIR Cache
|
||||
id: restore-mlir-cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
@@ -46,7 +46,7 @@ runs:
|
||||
-DCMAKE_MODULE_LINKER_FLAGS="${{ inputs.mold-linker-flags }}"
|
||||
cmake --build onnx-mlir/llvm-project/build
|
||||
|
||||
- name: Save MLIR cache
|
||||
- name: Save MLIR Cache
|
||||
if: steps.restore-mlir-cache.outputs.cache-hit != 'true'
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
name: Prepare Protobuf Cache
|
||||
description: Restore or build the cached protobuf installation.
|
||||
description: Restore or build the cached Protobuf installation.
|
||||
|
||||
inputs:
|
||||
protobuf-commit:
|
||||
protobuf-ref:
|
||||
description: Protobuf tag or commit to build.
|
||||
required: true
|
||||
mold-linker-flags:
|
||||
@@ -12,20 +12,20 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Restore protobuf cache
|
||||
- name: Restore Protobuf Cache
|
||||
id: restore-protobuf-cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
/usr/local/lib/libproto*
|
||||
/usr/local/include/google/protobuf
|
||||
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-commit }}
|
||||
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-ref }}
|
||||
|
||||
- name: Install protobuf
|
||||
- name: Install Protobuf
|
||||
if: steps.restore-protobuf-cache.outputs.cache-hit != 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
git clone --depth 1 --branch ${{ inputs.protobuf-commit }} https://github.com/protocolbuffers/protobuf
|
||||
git clone --depth 1 --branch ${{ inputs.protobuf-ref }} https://github.com/protocolbuffers/protobuf protobuf
|
||||
cmake -S protobuf -B protobuf/build -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="${{ inputs.mold-linker-flags }}" \
|
||||
@@ -35,11 +35,11 @@ runs:
|
||||
sudo cmake --install protobuf/build
|
||||
rm -rf protobuf
|
||||
|
||||
- name: Save protobuf cache
|
||||
- name: Save Protobuf Cache
|
||||
if: steps.restore-protobuf-cache.outputs.cache-hit != 'true'
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: |
|
||||
/usr/local/lib/libproto*
|
||||
/usr/local/include/google/protobuf
|
||||
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-commit }}
|
||||
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-ref }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Restore Raptor Build Cache
|
||||
description: Restore the cached raptor build directory for incremental builds.
|
||||
description: Restore the cached Raptor build directory for incremental builds.
|
||||
|
||||
inputs:
|
||||
key:
|
||||
@@ -17,7 +17,7 @@ outputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Restore raptor build cache
|
||||
- name: Restore Raptor Build Cache
|
||||
id: restore-raptor-build-cache
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: Save Raptor Build Cache
|
||||
description: Save the raptor build directory after a successful incremental build.
|
||||
description: Save the Raptor build directory after a successful incremental build.
|
||||
|
||||
inputs:
|
||||
key:
|
||||
@@ -9,7 +9,7 @@ inputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Save raptor build cache
|
||||
- name: Save Raptor Build Cache
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: build
|
||||
|
||||
Reference in New Issue
Block a user