Rocksdb to Corfudb version fix (#263) #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Corfu Benchmarks | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'benchmarks/**' | |
- '.github/workflows/run_benchmarks.yml' | |
jobs: | |
run_benchmarks: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' | |
env: | |
PKG_USERNAME: ${{ secrets.pkg_username }} | |
PUBLISH_TOKEN: ${{ secrets.publish_token }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Cache local Gradle repository | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Benchmarks | |
working-directory: ./benchmarks | |
run: ./gradlew jmh |