aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-10-26 15:12:10 +0100
committerCrozet Sébastien <developer@crozet.re>2020-10-26 15:12:10 +0100
commit3da333f11c93898808eb9233c0cf333743bbf906 (patch)
tree0ef0972450f615125c64f4cc8742d5486ce71e45 /.github/workflows
parente028f4504065b228bea8b736265e8b1bfb58f7f3 (diff)
downloadrapier-3da333f11c93898808eb9233c0cf333743bbf906.tar.gz
rapier-3da333f11c93898808eb9233c0cf333743bbf906.tar.bz2
rapier-3da333f11c93898808eb9233c0cf333743bbf906.zip
Fix testbed compilation with other backends.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/rapier-ci-bench.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/rapier-ci-bench.yml b/.github/workflows/rapier-ci-bench.yml
index 9cce1b2..8a43818 100644
--- a/.github/workflows/rapier-ci-bench.yml
+++ b/.github/workflows/rapier-ci-bench.yml
@@ -18,15 +18,17 @@ jobs:
BENCHBOT_TARGET_COMMIT: ${{ github.event.pull_request.head.sha }}
BENCHBOT_SHA: ${{ github.sha }}
BENCHBOT_HEAD_REF: ${{github.head_ref}}
+ BENCHBOT_OTHER_BACKENDS: 'true'
runs-on: ubuntu-latest
steps:
- name: Find commit SHA
if: github.ref == 'refs/heads/master'
run: |
echo "::set-env name=BENCHBOT_TARGET_COMMIT::$BENCHBOT_SHA"
+ echo "::set-env name=BENCHBOT_OTHER_BACKENDS::false"
- name: Send 3D bench message
shell: bash
run: curl -u $BENCHBOT_AMQP_USER:$BENCHBOT_AMQP_PASS
-i -H "content-type:application/json" -X POST
https://$BENCHBOT_AMQP_HOST/api/exchanges/$BENCHBOT_AMQP_VHOST//publish
- -d'{"properties":{},"routing_key":"benchmark","payload":"{ \"repository\":\"https://github.com/'$BENCHBOT_TARGET_REPO'\", \"branch\":\"'$GITHUB_REF'\", \"commit\":\"'$BENCHBOT_TARGET_COMMIT'\" }","payload_encoding":"string"}' \ No newline at end of file
+ -d'{"properties":{},"routing_key":"benchmark","payload":"{ \"repository\":\"https://github.com/'$BENCHBOT_TARGET_REPO'\", \"branch\":\"'$GITHUB_REF'\", \"commit\":\"'$BENCHBOT_TARGET_COMMIT'\", \"other_backends\":\"'$BENCHBOT_OTHER_BACKENDS'\" }","payload_encoding":"string"}' \ No newline at end of file