Skip to content

Commit

Permalink
Merge branch 'master' into feat-runtime-c-api-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan authored Mar 19, 2019
2 parents 57a82fa + f402c32 commit c98b283
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- restore_cache:
keys:
- v6-lint-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
- run:
name: Install dependencies
command: |
sudo apt-get install -y cmake
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
- restore_cache:
keys:
- v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
- run:
name: Install dependencies
command: |
sudo apt-get install -y cmake
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- restore_cache:
keys:
- v6-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
- run:
name: Install dependencies
command: |
sudo apt-get install -y cmake
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
- restore_cache:
keys:
- v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}-nightly
- run:
- run:
name: Install dependencies
command: |
sudo apt-get install -y cmake
Expand Down Expand Up @@ -303,6 +303,22 @@ jobs:
# echo "Versions don't match. Wasmer output version (wasmer --version) is ${VERSION} while Git tag is ${VERSION_TAG}"
# exit 1
#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:
version: 2
Expand Down Expand Up @@ -345,3 +361,10 @@ workflows:
filters:
branches:
only: master
- trigger-benchmark-build:
requires:
- test-and-build
- lint
filters:
branches:
only: master

0 comments on commit c98b283

Please sign in to comment.