Skip to content

perf_cbench

perf_cbench #2193

Workflow file for this run

name: perf_cbench
on:
push:
tags:
- '*'
workflow_dispatch:
schedule:
- cron: '0 */3 * * *'
jobs:
perf_cbench:
if: github.repository == 'tarantool/tarantool'
runs-on: perf-sh2
steps:
- name: set PATH to GIT of the newer version 2.9.0
run: echo "/usr/local/git/bin" | tee -a $GITHUB_PATH
- name: cleanup workspace
run: docker run -w /source -v ${PWD}:/source -i centos:8 /bin/bash -c "chown -R $(id -u):$(id -g) * .[^.]*"
- uses: actions/checkout@v1
- name: test
env:
BENCH: 'cbench'
uses: ./.github/actions/perf
- name: call action to send Telegram message on failure
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_CORE_TOKEN }}
TELEGRAM_TO: ${{ secrets.TELEGRAM_CORE_TO }}
uses: ./.github/actions/send-telegram-notify
if: failure()
- name: artifacts
uses: actions/upload-artifact@v3
if: always()
with:
name: perf_cbench
retention-days: 21
path: |
*_result.txt
*_t_version.txt