initial commit
This commit is contained in:
6
ci/build
Executable file
6
ci/build
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cargo build "$@"
|
||||
6
ci/cargo-sort
Executable file
6
ci/cargo-sort
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cargo sort --check "$@"
|
||||
6
ci/check
Executable file
6
ci/check
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cargo check "$@"
|
||||
6
ci/clippy
Executable file
6
ci/clippy
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cargo clippy "$@" -- --deny warnings
|
||||
6
ci/doc
Executable file
6
ci/doc
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cargo doc "$@"
|
||||
6
ci/format
Executable file
6
ci/format
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cargo fmt -- --check
|
||||
9
ci/jobs/build
Executable file
9
ci/jobs/build
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
ci/build
|
||||
ci/build --features defmt
|
||||
ci/build --release
|
||||
ci/build --features defmt --release
|
||||
15
ci/jobs/check
Executable file
15
ci/jobs/check
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
ci/format
|
||||
ci/check
|
||||
ci/check --features defmt
|
||||
ci/check --release
|
||||
ci/check --features defmt --release
|
||||
ci/clippy
|
||||
ci/clippy --release
|
||||
ci/cargo-sort
|
||||
ci/udeps
|
||||
ci/udeps --release
|
||||
7
ci/jobs/doc
Executable file
7
ci/jobs/doc
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
ci/doc
|
||||
ci/doc --features defmt
|
||||
7
ci/jobs/test
Executable file
7
ci/jobs/test
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
ci/test
|
||||
ci/test --release
|
||||
9
ci/pipeline
Executable file
9
ci/pipeline
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
./ci/jobs/check
|
||||
./ci/jobs/build
|
||||
./ci/jobs/test
|
||||
./ci/jobs/doc
|
||||
6
ci/test
Executable file
6
ci/test
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -xEeuo pipefail
|
||||
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
|
||||
cargo test "$@"
|
||||
Reference in New Issue
Block a user