diff --git a/circle.yml b/circle.yml index 54f7b7ac..d73061b1 100644 --- a/circle.yml +++ b/circle.yml @@ -358,6 +358,23 @@ jobs: - build - test + wasi: + docker: + - image: ethereum/cpp-build-env:16-gcc-10 + environment: + CMAKE_OPTIONS: -DHUNTER_RUN_UPLOAD=FALSE -DTOOLCHAIN=wasm32-wasi -DETHASH_BUILD_TESTS=NO -DETHASH_BUILD_GLOBAL_CONTEXT=NO + steps: + - run: + name: "Install WASI SDK" + command: | + sudo mkdir /opt/wasi-sdk && cd /opt/wasi-sdk + curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-12/wasi-sdk-12.0-linux.tar.gz | sudo tar -xz --strip=1 + find . + - checkout + - configure + - build + + workflows: version: 2 @@ -376,3 +393,4 @@ workflows: - linux-release - macos-release - cmake-min + - wasi