-
Notifications
You must be signed in to change notification settings - Fork 67
44 lines (37 loc) · 922 Bytes
/
tests.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
44
on:
push:
branches:
- main
pull_request:
name: tests
jobs:
tests:
name: tests
runs-on: ubuntu-latest
env:
CARGO_BACKTRACE: 1
steps:
- name: Install system dependencies
run: |
sudo apt-get -y install libxkbcommon-dev
- name: Checkout sources
uses: actions/checkout@v2
- name: Install beta toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: beta
override: true
- uses: Swatinem/rust-cache@v1
with:
cache-on-failure: true
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --features cv/serde-serialize
- name: Run cargo test for Akaze with rayon feature
uses: actions-rs/cargo@v1
with:
command: test
args: --features akaze/rayon