Skip to content

Commit 9c27eab

Browse files
committed
Initial Commit
0 parents  commit 9c27eab

15 files changed

Lines changed: 1668 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
on: [push, pull_request]
2+
3+
name: Continuous Integration
4+
5+
jobs:
6+
check:
7+
name: Check
8+
runs-on: windows-latest
9+
steps:
10+
- name: Checkout sources
11+
uses: actions/checkout@v2
12+
- name: Run cargo check
13+
uses: actions-rs/cargo@v1
14+
with:
15+
command: check
16+
17+
test:
18+
name: Test Suite
19+
runs-on: windows-latest
20+
steps:
21+
- name: Checkout sources
22+
uses: actions/checkout@v2
23+
- name: Run cargo test
24+
uses: actions-rs/cargo@v1
25+
with:
26+
command: test
27+
28+
lints:
29+
name: Lints
30+
runs-on: windows-latest
31+
steps:
32+
- name: Checkout sources
33+
uses: actions/checkout@v2
34+
- name: Run cargo fmt
35+
uses: actions-rs/cargo@v1
36+
with:
37+
command: fmt
38+
args: --all -- --check
39+
- name: Run cargo clippy
40+
uses: actions-rs/cargo@v1
41+
with:
42+
command: clippy
43+
args: -- -D warnings

.gitignore

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

.vscode/launch.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "lldb",
9+
"request": "launch",
10+
"name": "Debug executable 'displayz'",
11+
"cargo": {
12+
"args": [
13+
"build",
14+
"--bin=displayz",
15+
"--package=displayz"
16+
],
17+
"filter": {
18+
"name": "displayz",
19+
"kind": "bin"
20+
}
21+
},
22+
"args": [],
23+
"cwd": "${workspaceFolder}"
24+
},
25+
{
26+
"type": "lldb",
27+
"request": "launch",
28+
"name": "Debug unit tests in executable 'displayz'",
29+
"cargo": {
30+
"args": [
31+
"test",
32+
"--no-run",
33+
"--bin=displayz",
34+
"--package=displayz"
35+
],
36+
"filter": {
37+
"name": "displayz",
38+
"kind": "bin"
39+
}
40+
},
41+
"args": [],
42+
"cwd": "${workspaceFolder}"
43+
}
44+
]
45+
}

0 commit comments

Comments
 (0)