Unverified Commit 9d6635b6 authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

fix gha gitlab bench again (#897)

* get gitlab gha working

* test test

* Revert "test test"

This reverts commit c0f952dc.

* some nit fixes

* Update .github/workflows/benchmarks_gitlab.yml
parent dd79f725
Pipeline #219313 passed with stages
in 4 minutes and 54 seconds
......@@ -2,7 +2,7 @@ name: Benchmarks gitlab
on:
schedule:
- cron: "0 10 * * *"
- cron: "0 14 * * *"
jobs:
bench:
......@@ -13,6 +13,7 @@ jobs:
- name: Checkout Sources
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
ref: "gh-pages"
- name: Install Rust nightly toolchain
......@@ -22,20 +23,27 @@ jobs:
toolchain: nightly
override: true
- name: Set bench file
- name: Rust Cache
uses: Swatinem/rust-cache@v2.0.0
- name: Copy bench results
id: step_one
run: |
echo "bench_file=bench/$(date "+%d-%m-%Y")/output.txt" >> $GITHUB_ENV
cp bench/$(date "+%d-%m-%Y")/output.txt output.txt
- name: Switch branch
id: step_two
run: |
git checkout master
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
tool: "cargo"
output-file-path: "${{ env.bench_file }}"
output-file-path: "output.txt"
benchmark-data-dir-path: "bench/dev2"
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
alert-comment-cc-users: '@niklasad1'
auto-push: true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment