Compare commits

...

10 commits

Author SHA1 Message Date
1c24f7eec3 Merge pull request 'init-ci (2/2)' (#14) from init-cli-p2 into main
Reviewed-on: #14
2024-02-25 12:13:34 -05:00
ca05de5cd5
ci: add rustup step 2024-02-25 12:12:53 -05:00
f517307538 Merge branch 'main' into init-cli-p2 2024-02-25 11:57:12 -05:00
2901d345d6
ci: include *.rs 2024-02-25 11:56:54 -05:00
2600ee6cc4
Merge branch 'main' into init-cli-p2
ci: disable clippy for now

ci: reenable rustup install

cargo: update lock
2024-02-25 11:53:43 -05:00
491722bf0f
ci: update clippy tests 2024-02-25 11:04:01 -05:00
9c3318c6f6
ci: update rust image
Some checks failed
ci/woodpecker/manual/cargo-checks Pipeline failed
2024-02-25 10:55:42 -05:00
bc9fd75853
ci: update rust image
Some checks failed
ci/woodpecker/manual/cargo-checks Pipeline failed
2024-02-25 10:54:38 -05:00
38a5e7e520
ci: add basic cargo ci
Some checks failed
ci/woodpecker/manual/cargo-checks Pipeline failed
2024-02-25 10:54:02 -05:00
10d739db4f
flake.nix: update build inputs 2024-02-25 10:31:36 -05:00
3 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,20 @@
when:
- event: pull_request
- event: push
- path:
include: ["*.rs"]
steps:
configure_rustup:
image: rust
commands: |
rustup update stable && rustup default stable
rustup component add clippy
cargo_clippy:
image: rust
commands:
- cargo clippy --all-targets --all-features
cargo_test:
image: rust
commands:
- cargo test --all-features

View file

@ -37,7 +37,7 @@ steps:
owner: ${CI_REPO_OWNER} owner: ${CI_REPO_OWNER}
repo: ${CI_REPO_NAME} repo: ${CI_REPO_NAME}
branch: flake-lock-update branch: flake-lock-update
base_branch: master base_branch: main
pr_title: "flake.lock: update" pr_title: "flake.lock: update"
pr_body: PR automatically created by Woodpecker CI pr_body: PR automatically created by Woodpecker CI
close_pr_if_empty: true close_pr_if_empty: true

View file

@ -18,6 +18,8 @@
in { in {
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = pkgs.mkShell {
name = "forcebot_rs-devenv"; name = "forcebot_rs-devenv";
nativeBuildInputs = [pkgs.pkg-config];
buildInputs = with pkgs; [openssl libiconv];
packages = with pkgs; [ packages = with pkgs; [
nil nil
alejandra alejandra