forked from drym-org/qi
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 1.09 KB
/
competitive-benchmarks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: competitive-benchmarks
on:
push:
branches:
- gather-new-benchmark-data
paths:
- 'qi-sdk/profile/**'
- 'qi-lib/**'
- '.github/workflows/competitive-benchmarks.yml'
defaults:
run:
shell: bash
jobs:
deploy-benchmarks:
runs-on: ubuntu-latest
name: Generate and deploy competitive benchmarks
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Racket
uses: Bogdanp/setup-racket@v1.9.1
with:
architecture: 'x64'
distribution: 'full'
variant: 'CS'
version: 'stable'
- name: Install Package and its Dependencies
run: make install
- name: Install SDK
run: make install-sdk
- name: Run benchmark
shell: 'bash --noprofile --norc -eo pipefail {0}'
run: make new-benchmarks
- name: Push to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
folder: qi-sdk/results/output
target-folder: competitive-benchmarks
branch: gh-pages
clean: true