Skip to content

Commit 2f8bdb0

Browse files
committed
Move to GitHub Actions
1 parent d103b4b commit 2f8bdb0

File tree

3 files changed

+57
-45
lines changed

3 files changed

+57
-45
lines changed

.github/workflows/rust.yml

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
default-features:
14+
strategy:
15+
matrix:
16+
rust: ["stable", "beta", "nightly"]
17+
os: [windows-latest, ubuntu-latest]
18+
19+
runs-on: ${{ matrix.os }}
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
24+
- name: Install rust toolchain
25+
uses: actions-rs/toolchain@v1
26+
with:
27+
profile: minimal
28+
toolchain: ${{ matrix.rust }}
29+
override: true
30+
31+
- name: Run tests
32+
run: cargo test
33+
34+
- name: Run test-project tests
35+
run: cd test-project && cargo test
36+
37+
38+
rustc-nightly-feature:
39+
strategy:
40+
matrix:
41+
os: [windows-latest, ubuntu-latest]
42+
43+
runs-on: ${{ matrix.os }}
44+
45+
steps:
46+
- uses: actions/checkout@v2
47+
48+
- name: Install rust toolchain
49+
uses: actions-rs/toolchain@v1
50+
with:
51+
profile: minimal
52+
toolchain: nightly
53+
override: true
54+
55+
- name: Run test-project tests with `rustc` feature
56+
run: cd test-project && cargo test --features rustc
57+

.travis.yml

-20
This file was deleted.

appveyor.yml

-25
This file was deleted.

0 commit comments

Comments
 (0)