Fix testbed compilation with other backends.
This commit is contained in:
4
.github/workflows/rapier-ci-bench.yml
vendored
4
.github/workflows/rapier-ci-bench.yml
vendored
@@ -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"}'
|
||||
-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"}'
|
||||
Reference in New Issue
Block a user