Skip to content

Commit 7691ec2

Browse files
committed
Initial implementation
0 parents  commit 7691ec2

File tree

9 files changed

+1526
-0
lines changed

9 files changed

+1526
-0
lines changed

.github/workflows/ci.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: ci
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
linux:
7+
name: Test Suite (linux)
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
rust:
12+
- stable
13+
- nightly
14+
- 1.37.0
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions-rs/toolchain@v1
18+
with:
19+
toolchain: ${{ matrix.rust }}
20+
- run: cargo test --release --all-features
21+
22+
windows:
23+
name: Test suite (windows)
24+
runs-on: windows-latest
25+
steps:
26+
- uses: actions/checkout@v2
27+
with:
28+
toolchain: ${{ matrix.rust }}
29+
- run: cargo test --all-features
30+
31+
lints:
32+
name: Lints
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout sources
36+
uses: actions/checkout@v2
37+
38+
- name: Install stable toolchain
39+
uses: actions-rs/toolchain@v1
40+
with:
41+
profile: minimal
42+
toolchain: stable
43+
override: true
44+
components: rustfmt, clippy
45+
46+
- name: Run cargo fmt
47+
uses: actions-rs/cargo@v1
48+
with:
49+
command: fmt
50+
args: --all -- --check
51+
52+
- name: Run cargo clippy
53+
uses: actions-rs/cargo@v1
54+
with:
55+
command: clippy
56+
args: -- -D warnings

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"liveServer.settings.port": 5501
3+
}

0 commit comments

Comments
 (0)