-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a placeholder workflow to gather new competitive benchmarks
- Loading branch information
1 parent
d627647
commit d754695
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: competitive-benchmarks | ||
|
||
on: | ||
push: | ||
branches: | ||
- main # TODO: change to gather-new-benchmark-data | ||
paths: | ||
- 'qi-sdk/profile/**' | ||
- 'qi-lib/**' | ||
- '.github/workflows/competitive-benchmarks.yml' | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
deploy-docs: | ||
runs-on: ubuntu-latest | ||
name: Build and deploy backup docs | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
- name: Install Racket | ||
uses: Bogdanp/[email protected] | ||
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 # TODO: should first add dependency on new benchmarks suite in info.rkt | ||
- name: Run benchmark | ||
shell: 'bash --noprofile --norc -eo pipefail {0}' | ||
run: make new-benchmarks # TODO: add this new target | ||
- name: Push to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
folder: competitive-benchmarks/qi | ||
target-folder: competitive-benchmarks | ||
branch: gh-pages | ||
clean: true |