Respect the sign of the right operand of AST_SHIFT and AST_SHIFTX #42
Workflow file for this run
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
name: WASI Build | |
on: [push, pull_request] | |
jobs: | |
wasi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
WASI_SDK=wasi-sdk-19.0 | |
WASI_SDK_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/wasi-sdk-19.0-linux.tar.gz | |
if ! [ -d ${WASI_SDK} ]; then curl -L ${WASI_SDK_URL} | tar xzf -; fi | |
mkdir -p build | |
cat > build/Makefile.conf <<END | |
export PATH := $(pwd)/${WASI_SDK}/bin:${PATH} | |
WASI_SYSROOT := $(pwd)/${WASI_SDK}/share/wasi-sysroot | |
CONFIG := wasi | |
PREFIX := / | |
ENABLE_TCL := 0 | |
ENABLE_READLINE := 0 | |
ENABLE_PLUGINS := 0 | |
ENABLE_ZLIB := 0 | |
END | |
make -C build -f ../Makefile CXX=clang -j$(nproc) |