mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-08 20:56:13 +00:00
Fix CI issues (#781)
Fix spec_test.yml llvm-library cache key name invalid issue. Trigger CI when core/shared, product-mini and wamr-compiler change.
This commit is contained in:
parent
03494f9487
commit
ee1ae4dc2c
7
.github/workflows/spec_test.yml
vendored
7
.github/workflows/spec_test.yml
vendored
|
@ -7,6 +7,9 @@ on:
|
|||
pull_request:
|
||||
paths:
|
||||
- "core/iwasm/**"
|
||||
- "core/shared/**"
|
||||
- "wamr-compiler/**"
|
||||
- "product-mini/**"
|
||||
# allow to be triggered manually
|
||||
workflow_dispatch:
|
||||
|
||||
|
@ -41,7 +44,7 @@ jobs:
|
|||
with:
|
||||
path: ./core/deps/llvm/build/LLVM-13.0.0.tar.gz
|
||||
key: ubuntu-20.04-${{ env.LLVM_CACHE_SUFFIX }}
|
||||
restore-keys: ${{ matrix.os }}-${{ env.LLVM_CACHE_SUFFIX }}
|
||||
restore-keys: ubuntu-20.04-${{ env.LLVM_CACHE_SUFFIX }}
|
||||
|
||||
- name: Build llvm and clang from source
|
||||
id: build_llvm
|
||||
|
@ -79,7 +82,7 @@ jobs:
|
|||
with:
|
||||
path: ./core/deps/llvm/build/LLVM-13.0.0.tar.gz
|
||||
key: ubuntu-20.04-${{ env.LLVM_CACHE_SUFFIX }}
|
||||
restore-keys: ${{ matrix.os }}-${{ env.LLVM_CACHE_SUFFIX }}
|
||||
restore-keys: ubuntu-20.04-${{ env.LLVM_CACHE_SUFFIX }}
|
||||
|
||||
- name: Quit if cache miss
|
||||
if: steps.cache_llvm.outputs.cache-hit != 'true'
|
||||
|
|
Loading…
Reference in New Issue
Block a user