Fix codeql compilation error (#3461)

Update OS to ubuntu-22.04 and install `libgcc-12-dev lib32gcc-12-dev` instead
of `libgcc-11-dev lib32gcc-11-dev`.

And fix a bh_assert condition typo error.

ps.
https://github.com/bytecodealliance/wasm-micro-runtime/actions/runs/9183310069/job/25253782329
This commit is contained in:
Wenyong Huang
2024-05-22 17:27:38 +08:00
committed by GitHub
parent f143344842
commit 6fdfedb08a
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
sudo apt update
sudo apt install -y build-essential cmake g++-multilib libgcc-11-dev lib32gcc-11-dev ccache ninja-build ccache
sudo apt install -y build-essential cmake g++-multilib libgcc-12-dev lib32gcc-12-dev ccache ninja-build
WAMR_DIR=${PWD}