Skip to content

Commit b58a555

Browse files
committed
Fix installing WasmEdge for a daily runtime check job
1 parent d2d3920 commit b58a555

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/daily-runtime-validation.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,10 @@ jobs:
4747
- name: Install WasmEdge
4848
if: matrix.runtime == 'wasmedge'
4949
run: |
50-
sudo apt install -y software-properties-common cmake libboost-all-dev
51-
sudo apt install -y clang
50+
curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -p ./wasmedge-install
51+
echo "$GITHUB_WORKSPACE/wasmedge-install/bin/" >> $GITHUB_PATH
5252
git clone https://github.com/WasmEdge/WasmEdge.git
53-
cd WasmEdge
54-
mkdir -p build && cd build
55-
cmake -DWASMEDGE_BUILD_AOT_RUNTIME=OFF .. && make -j4
56-
echo "$GITHUB_WORKSPACE/WasmEdge/build/tools/wasmedge" >> $GITHUB_PATH
57-
cd ..
58-
cp .github/scripts/wasi-testsuite-adapter.py ../adapters/wasmedge.py
53+
cp WasmEdge/.github/scripts/wasi-testsuite-adapter.py ./adapters/wasmedge.py
5954
6055
- name: Install wazero
6156
if: matrix.runtime == 'wazero'

0 commit comments

Comments
 (0)