fix CI (hopefully)
All checks were successful
Validate Operations / validate-operations (push) Successful in 1h5m22s
All checks were successful
Validate Operations / validate-operations (push) Successful in 1h5m22s
This commit is contained in:
@@ -18,8 +18,18 @@ runs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/lib/libproto*
|
/usr/local/lib/libproto*
|
||||||
|
/usr/local/lib/libabsl*
|
||||||
|
/usr/local/lib/libutf8*
|
||||||
|
/usr/local/lib/cmake/protobuf
|
||||||
|
/usr/local/lib/cmake/absl
|
||||||
|
/usr/local/lib/cmake/utf8_range
|
||||||
/usr/local/include/google/protobuf
|
/usr/local/include/google/protobuf
|
||||||
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-ref }}
|
/usr/local/include/absl
|
||||||
|
/usr/local/include/utf8_range.h
|
||||||
|
/usr/local/bin/protoc*
|
||||||
|
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-ref }}-v2
|
||||||
|
restore-keys: |
|
||||||
|
protobuf-${{ runner.os }}-${{ inputs.protobuf-ref }}-v2
|
||||||
|
|
||||||
- name: Install Protobuf
|
- name: Install Protobuf
|
||||||
if: steps.restore-protobuf-cache.outputs.cache-hit != 'true'
|
if: steps.restore-protobuf-cache.outputs.cache-hit != 'true'
|
||||||
@@ -28,6 +38,7 @@ runs:
|
|||||||
git clone --depth 1 --branch ${{ inputs.protobuf-ref }} https://github.com/protocolbuffers/protobuf protobuf
|
git clone --depth 1 --branch ${{ inputs.protobuf-ref }} https://github.com/protocolbuffers/protobuf protobuf
|
||||||
cmake -S protobuf -B protobuf/build -G Ninja \
|
cmake -S protobuf -B protobuf/build -G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-Dprotobuf_BUILD_TESTS=OFF \
|
||||||
-DCMAKE_EXE_LINKER_FLAGS="${{ inputs.mold-linker-flags }}" \
|
-DCMAKE_EXE_LINKER_FLAGS="${{ inputs.mold-linker-flags }}" \
|
||||||
-DCMAKE_SHARED_LINKER_FLAGS="${{ inputs.mold-linker-flags }}" \
|
-DCMAKE_SHARED_LINKER_FLAGS="${{ inputs.mold-linker-flags }}" \
|
||||||
-DCMAKE_MODULE_LINKER_FLAGS="${{ inputs.mold-linker-flags }}"
|
-DCMAKE_MODULE_LINKER_FLAGS="${{ inputs.mold-linker-flags }}"
|
||||||
@@ -41,5 +52,13 @@ runs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/usr/local/lib/libproto*
|
/usr/local/lib/libproto*
|
||||||
|
/usr/local/lib/libabsl*
|
||||||
|
/usr/local/lib/libutf8*
|
||||||
|
/usr/local/lib/cmake/protobuf
|
||||||
|
/usr/local/lib/cmake/absl
|
||||||
|
/usr/local/lib/cmake/utf8_range
|
||||||
/usr/local/include/google/protobuf
|
/usr/local/include/google/protobuf
|
||||||
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-ref }}
|
/usr/local/include/absl
|
||||||
|
/usr/local/include/utf8_range.h
|
||||||
|
/usr/local/bin/protoc*
|
||||||
|
key: protobuf-${{ runner.os }}-${{ inputs.protobuf-ref }}-v2
|
||||||
|
|||||||
Reference in New Issue
Block a user