Skip to content

Commit 6167777

Browse files
Check benchmarks on GitHub Actions
This unifies our CI into one platform
1 parent c920623 commit 6167777

File tree

2 files changed

+26
-20
lines changed

2 files changed

+26
-20
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ env:
99
AWS_ACCESS_KEY_ID: AKIA46X5W6CZBLO3VBND
1010

1111
jobs:
12-
ci:
13-
name: CI
12+
test_and_deploy:
13+
name: Test and deploy
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout the source code
@@ -32,3 +32,27 @@ jobs:
3232
aws_access_key_id: "${{ env.AWS_ACCESS_KEY_ID }}"
3333
aws_secret_access_key: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
3434
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/deploy'
35+
test_benchmarks_1:
36+
name: Benchmark test 1
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout the source code
40+
uses: actions/checkout@v2
41+
with:
42+
fetch-depth: 1
43+
44+
- name: Install latest nightly
45+
uses: actions-rs/toolchain@v1
46+
with:
47+
toolchain: nightly
48+
override: true
49+
50+
- name: Configure environment
51+
run: |
52+
sudo apt-get update
53+
sudo apt-get install -y linux-tools-common linux-tools-generic linux-tools-`uname -r`
54+
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
55+
56+
- name: Check benchmarks
57+
run: sh -x -c "ci/check-benchmarks.sh"
58+

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)