From 6b25a1f19202f2c68f801a1fa40dd19df05aa474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 24 May 2021 15:22:07 +0200 Subject: [PATCH] ci: Add WASI SDK build --- circle.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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