Merge remote-tracking branch 'origin/master' into feature/dynasm-backend

This commit is contained in:
losfair 2019-03-19 23:00:38 +08:00
commit f0e8f228bd

View File

@ -306,6 +306,22 @@ jobs:
# echo "Versions don't match. Wasmer output version (wasmer --version) is ${VERSION} while Git tag is ${VERSION_TAG}" # echo "Versions don't match. Wasmer output version (wasmer --version) is ${VERSION} while Git tag is ${VERSION_TAG}"
# exit 1 # exit 1
#fi #fi
trigger-benchmark-build:
docker:
- image: circleci/rust:latest
steps:
- run:
name: "Trigger Benchmark Build"
command: |
if [[ -z "${CIRCLE_API_USER_TOKEN}" ]]; then
echo "CIRCLE_API_USER_TOKEN environment variable not set"
exit 1
else
echo "Triggering benchmark build"
curl -u ${CIRCLE_API_USER_TOKEN} \
-d build_parameters[CIRCLE_JOB]=bench \
https://circleci.com/api/v1.1/project/github/wasmerio/wasmer-bench/tree/master
fi
workflows: workflows:
version: 2 version: 2
@ -348,3 +364,10 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
- trigger-benchmark-build:
requires:
- test-and-build
- lint
filters:
branches:
only: master