aboutsummaryrefslogtreecommitdiffhomepage
path: root/.circleci
diff options
context:
space:
mode:
authorBrad Peabody <[email protected]>2020-05-23 05:12:01 -0700
committerGitHub <[email protected]>2020-05-23 14:12:01 +0200
commit95f509b109d4936bec9b6020cb34fbb4bd5cba16 (patch)
tree1aa22601dc454056c8f4d5c797efb786e931b281 /.circleci
parentdda576e80bb4217ba67700e377b441783edee62d (diff)
downloadtinygo-95f509b109d4936bec9b6020cb34fbb4bd5cba16.tar.gz
tinygo-95f509b109d4936bec9b6020cb34fbb4bd5cba16.zip
wasm test suite (#1116)
* wasm: add test suite using headlless chrome
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index e311b6a1c..060d66502 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -37,6 +37,13 @@ commands:
sudo tar -C /usr/local -xf node-v10.15.1-linux-x64.tar.xz
sudo ln -s /usr/local/node-v10.15.1-linux-x64/bin/node /usr/bin/node
rm node-v10.15.1-linux-x64.tar.xz
+ install-chrome:
+ steps:
+ - run:
+ name: "Install Chrome"
+ command: |
+ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
+ sudo apt install ./google-chrome-stable_current_amd64.deb
llvm-source-linux:
steps:
- restore_cache:
@@ -71,6 +78,7 @@ commands:
- apt-dependencies:
llvm: "<<parameters.llvm>>"
- install-node
+ - install-chrome
- restore_cache:
keys:
- go-cache-v2-{{ checksum "go.mod" }}-{{ .Environment.CIRCLE_PREVIOUS_BUILD_NUM }}
@@ -88,6 +96,7 @@ commands:
- run: go test -v -tags=llvm<<parameters.llvm>> ./cgo ./compileopts ./interp ./transform .
- run: make gen-device -j4
- run: make smoketest
+ - run: make wasmtest
- save_cache:
key: go-cache-v2-{{ checksum "go.mod" }}-{{ .Environment.CIRCLE_BUILD_NUM }}
paths: