Skip to content

Commit 6199433

Browse files
authored
Merge pull request #4 from valentinewallace/sample-v0
Sample v0
2 parents 70311fe + a73d564 commit 6199433

12 files changed

+2543
-2
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Continuous Integration Checks
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
toolchain: [ stable, beta ]
10+
include:
11+
- toolchain: stable
12+
check-fmt: true
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout source code
16+
uses: actions/checkout@v2
17+
- name: Install Rust ${{ matrix.toolchain }} toolchain
18+
uses: actions-rs/toolchain@v1
19+
with:
20+
toolchain: ${{ matrix.toolchain }}
21+
override: true
22+
profile: minimal
23+
- name: Build on Rust ${{ matrix.toolchain }}
24+
run: cargo build --verbose --color always
25+
- name: Check formatting
26+
if: matrix.check-fmt
27+
run: rustup component add rustfmt && cargo fmt --all -- --check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Cargo.lock
88

99
# These are backup files generated by rustfmt
1010
**/*.rs.bk
11+
.ldk

0 commit comments

Comments
 (0)