Skip to content

Commit 3f39f73

Browse files
committed
Initial revision.
Signed-off-by: Dan Cross <[email protected]>
0 parents  commit 3f39f73

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+10343
-0
lines changed

.cargo/config.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[alias]
2+
xtask = "run --manifest-path ./xtask/Cargo.toml --"

.github/workflows/ci.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: bldb
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- "**"
10+
11+
env:
12+
CARGO_TERM_COLOR: always
13+
14+
jobs:
15+
test:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Run bldb tests
20+
run: cargo xtask test --locked
21+
22+
miri:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Run bldb miri tests
27+
run: cargo --locked miri test
28+
29+
format:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v3
33+
- uses: mbrobbel/rustfmt-check@master
34+
with:
35+
token: ${{ secrets.GITHUB_TOKEN }}
36+
37+
lint:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v3
41+
- run: rustup component add clippy
42+
- uses: actions-rs/clippy-check@v1
43+
with:
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
args: --all-features

.github/workflows/license-check.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: license-check
2+
on: pull_request
3+
jobs:
4+
license:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: Check License Header
9+
uses: apache/skywalking-eyes/header@501a28d2fb4a9b962661987e50cf0219631b32ff

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target
2+
/xtask/target
3+
/.vscode

.licenserc.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
header:
2+
license:
3+
spdx-id: MPL-2.0
4+
5+
content: |
6+
This Source Code Form is subject to the terms of the Mozilla Public
7+
License, v. 2.0. If a copy of the MPL was not distributed with this
8+
file, You can obtain one at https://mozilla.org/MPL/2.0/.
9+
paths:
10+
- '**/*.rs'
11+
12+
comment: on-failure

0 commit comments

Comments
 (0)