File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 3030 ~/.cargo/git/db/
3131 target/
3232 key : ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
33+ -
34+ name : Install dev dependencies
35+ run : nix-shell --command "make dev-dependencies"
3336 -
3437 name : Run tests
3538 run : nix-shell --command "make test"
5861 ~/.cargo/git/db/
5962 target/
6063 key : ${{ runner.os }}-cargo-dist-${{ hashFiles('**/Cargo.lock') }}
64+ -
65+ name : Install dev dependencies
66+ run : nix-shell --command "make dev-dependencies"
6167 -
6268 name : Build distributables
6369 run : nix-shell --command "make dist"
Original file line number Diff line number Diff line change 8383# Enter the devshell.
8484devshell :
8585 nix-shell
86+
87+ # Dependencies
88+ dev-dependencies :
89+ cargo install cross --git https://github.com/cross-rs/cross --rev 426e8110a083c1aaa8e04ed460e86f4606226619 --locked
Original file line number Diff line number Diff line change 33pkgs . mkShell {
44 buildInputs = [
55 pkgs . rustup
6- pkgs . cargo-cross
76 pkgs . cargo-deb
7+ # pkgs.cargo-cross # this is installed using make dev-dependencies until a new release is out
88 ] ;
9+ shellHook = ''
10+ export PATH=$PATH:~/.cargo/bin
11+ '' ;
912}
You can’t perform that action at this time.
0 commit comments