Skip to content

Commit

Permalink
ci: Add WASI SDK build
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed May 24, 2021
1 parent 9c961c3 commit 6b25a1f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -376,3 +393,4 @@ workflows:
- linux-release
- macos-release
- cmake-min
- wasi

0 comments on commit 6b25a1f

Please sign in to comment.