Fix several issues in CI binary releasing (#2064)

This commit is contained in:
liang.he
2023-03-26 12:19:45 +08:00
committed by GitHub
parent 0f73ce1076
commit d0fb2716b6
12 changed files with 79 additions and 23 deletions

View File

@ -14,6 +14,10 @@ on:
description: workfing directory
type: string
required: true
llvm_cache_key:
description: the cache key of llvm libraries
type: string
required: true
runner:
description: OS of compilation
type: string
@ -33,6 +37,22 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: get cached LLVM libraries
id: retrieve_llvm_libs
uses: actions/cache@v3
with:
path: |
./core/deps/llvm/build/bin
./core/deps/llvm/build/include
./core/deps/llvm/build/lib
./core/deps/llvm/build/libexec
./core/deps/llvm/build/share
key: ${{ inputs.llvm_cache_key }}
- name: Quit if cache miss
if: steps.retrieve_llvm_libs.outputs.cache-hit != 'true'
run: echo "::error::can not get prebuilt llvm libraries" && exit 1
- name: generate iwasm binary release
run: |
cmake -S . -B build \