Skip to content

Commit 23dc949

Browse files
authored
Merge pull request #396 from SciML/performaceCI
Adding CI to benchmark performance
2 parents 00962f1 + 1cfff1b commit 23dc949

File tree

10 files changed

+868
-0
lines changed

10 files changed

+868
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Performance Check
2+
on:
3+
push:
4+
branches:
5+
- 'master'
6+
tags: '*'
7+
pull_request:
8+
jobs:
9+
build-and-benchmark:
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
julia-version: ['1']
14+
julia-arch: [x64]
15+
os: [ubuntu-latest]
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v2
19+
- name: Install Julia
20+
uses: julia-actions/setup-julia@latest
21+
with:
22+
version: ${{ matrix.julia-version }}
23+
- name: Build project
24+
uses: julia-actions/julia-buildpkg@latest
25+
- name: Benchmark
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.BENCHMARK_KEY }}
28+
PR_NUMBER: ${{ github.event.number }}
29+
run: julia --threads=4 --project=./benchmarking/CI-scripts ./benchmarking/CI-scripts/runtests.jl 2
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[deps]
2+
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
3+
GitHub = "bc5e4493-9b4d-5f90-b8aa-2b2bcaad7a26"
4+
GitHubActions = "6b79fd1a-b13a-48ab-b6b0-aaee1fee41df"
5+
Nemo = "2edaba10-b0f1-5616-af89-8c11ac63239a"
6+
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"
7+
Primes = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae"
8+
TestSetExtensions = "98d24dd4-01ad-11ea-1b02-c9a08f80db04"

0 commit comments

Comments
 (0)