-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues in releasing wamr-lldb (#2497)
- Update lldb patch due to swig was upgraded to 4.1 in macos - Export LD_LIBRARY_PATH for searching libpython3.10.so when validating wamr-lldb in Ubuntu-20.04 - Rename lldb-wasm.patch to lldb_wasm.path
- Loading branch information
Showing
4 changed files
with
103 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,14 +28,13 @@ on: | |
required: false | ||
default: "https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz" | ||
|
||
|
||
jobs: | ||
try_reuse: | ||
uses: ./.github/workflows/reuse_latest_release_binaries.yml | ||
with: | ||
binary_name_stem: "wamr-lldb-${{ inputs.ver_num }}-${{ inputs.arch }}-${{ inputs.runner }}" | ||
last_commit: "ea63ba4bd010c2285623ad4acc0262a4d63bcfea" | ||
the_path: "./build-scripts/lldb-wasm.patch" | ||
the_path: "./build-scripts/lldb_wasm.patch" | ||
upload_url: ${{ inputs.upload_url }} | ||
|
||
build: | ||
|
@@ -107,7 +106,7 @@ jobs: | |
git init | ||
git config user.email "[email protected]" | ||
git config user.name "github action" | ||
git apply ../../../build-scripts/lldb-wasm.patch | ||
git apply ../../../build-scripts/lldb_wasm.patch | ||
working-directory: core/deps/llvm-project | ||
|
||
- name: get stand-alone python ubuntu | ||
|
@@ -163,6 +162,7 @@ jobs: | |
mkdir -p wamr-debug | ||
cmake -S product-mini/platforms/linux -B wamr-debug -DWAMR_BUILD_DEBUG_INTERP=1 | ||
cmake --build wamr-debug --parallel $(nproc) | ||
export LD_LIBRARY_PATH=$(pwd)/core/deps/python/lib:${LD_LIBRARY_PATH} | ||
python3 ci/validate_lldb.py --port 1239 --lldb core/deps/wamr-lldb/bin/lldb --wamr wamr-debug/iwasm --verbose | ||
working-directory: . | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -594,7 +594,7 @@ jobs: | |
cache-name: cache-lldb-vscode | ||
with: | ||
path: test-tools/wamr-ide/VSCode-Extension/resource/debug/linux | ||
key: ${{ env.cache-name }}-${{ hashFiles('build-scripts/lldb-wasm.patch') }}-${{ env.PYTHON_UBUNTU_STANDALONE_BUILD }} | ||
key: ${{ env.cache-name }}-${{ hashFiles('build-scripts/lldb_wasm.patch') }}-${{ env.PYTHON_UBUNTU_STANDALONE_BUILD }} | ||
|
||
- if: ${{ steps.cache-lldb.outputs.cache-hit != 'true' }} | ||
name: get stand-alone python ubuntu | ||
|
@@ -617,7 +617,7 @@ jobs: | |
git init | ||
git config user.email "[email protected]" | ||
git config user.name "github action" | ||
git apply ../../../build-scripts/lldb-wasm.patch | ||
git apply ../../../build-scripts/lldb_wasm.patch | ||
working-directory: core/deps/llvm-project | ||
|
||
- if: ${{ steps.cache-lldb.outputs.cache-hit != 'true' }} | ||
|
Oops, something went wrong.