File tree 3 files changed +14
-6
lines changed 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 36
36
path : |
37
37
~/.cargo/registry
38
38
~/.cargo/git
39
- key : cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE}}
39
+ key : cargo-build-${{ hashFiles('**/Cargo.lock') }}-${{ env.RUST_STABLE }}
40
40
41
41
- name : Install dependencies
42
42
run : |
55
55
uses : actions-rs/cargo@v1
56
56
with :
57
57
command : clippy
58
- args : --workspace --all-targets -- --deny=warnings
58
+ args : --workspace --all-targets
59
59
60
60
- name : Build
61
61
run : ./ci/cargo-build-test.sh
62
+
63
+ - name : Upload artifacts
64
+ uses : actions/upload-artifact@v4
65
+ with :
66
+ path : target/release/*.so
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export RUSTBACKTRACE=1
11
11
set -x
12
12
13
13
# Build/test all host crates
14
- cargo +" $rust_stable " build
15
- cargo +" $rust_stable " test -- --nocapture
14
+ cargo +" $rust_stable " build --release
15
+ # cargo +"$rust_stable" test -- --nocapture
16
16
17
17
exit 0
Original file line number Diff line number Diff line change 39
39
default = pkgs . mkShell {
40
40
packages = with pkgs ; [
41
41
rustToolchain
42
- openssl
43
- pkg-config
44
42
cargo-deny
45
43
cargo-edit
46
44
cargo-watch
47
45
rust-analyzer
46
+
47
+ openssl
48
+ pkg-config
49
+ protobuf
48
50
] ;
49
51
50
52
env = {
51
53
# Required by rust-analyzer
52
54
RUST_SRC_PATH = "${ pkgs . rustToolchain } /lib/rustlib/src/rust/library" ;
55
+ LIBCLANG_PATH = "${ pkgs . llvmPackages . libclang . lib } /lib" ;
53
56
} ;
54
57
} ;
55
58
} ) ;
You can’t perform that action at this time.
0 commit comments