Skip to content

Commit dee8b47

Browse files
Keatsboydgreenfield
authored andcommitted
Add GH actions
1 parent d7fbbd8 commit dee8b47

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ci
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
name: test
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
build: [pinned, stable]
11+
include:
12+
- build: pinned
13+
os: ubuntu-18.04
14+
rust: 1.40.0
15+
- build: stable
16+
os: ubuntu-18.04
17+
rust: stable
18+
steps:
19+
- uses: actions/checkout@v1
20+
- name: Install Rust
21+
uses: hecrj/setup-rust-action@v1
22+
with:
23+
rust-version: ${{ matrix.rust }}
24+
- name: Build System Info
25+
run: rustc --version
26+
- name: Run tests
27+
run: cargo test

0 commit comments

Comments
 (0)