File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,9 @@ jobs:
106106 run : |
107107 cargo build --release --target=${{ matrix.target }}
108108 - name : Copy
109- run : cp target/${{ matrix.target }}/release/libviam_rust_utils.dylib builds/libviam_rust_utils-${{ matrix.platform }}.dylib
109+ run : |
110+ cp target/${{ matrix.target }}/release/libviam_rust_utils.dylib builds/libviam_rust_utils-${{ matrix.platform }}.dylib
111+ cp target/${{ matrix.target }}/release/libviam_rust_utils.a builds/libviam_rust_utils-${{ matrix.platform }}.a
110112 - name : Correct install path
111113 run : |
112114 install_name_tool -id "@rpath/libviam_rust_utils.dylib" builds/libviam_rust_utils-${{ matrix.platform }}.dylib
@@ -154,7 +156,9 @@ jobs:
154156 source "$HOME/.cargo/env"
155157 cargo build --release --target=${{ matrix.target }}
156158 - name : Copy
157- run : cp target/${{ matrix.target }}/release/libviam_rust_utils.so builds/libviam_rust_utils-${{ matrix.platform }}.so
159+ run : |
160+ cp target/${{ matrix.target }}/release/libviam_rust_utils.so builds/libviam_rust_utils-${{ matrix.platform }}.so
161+ cp target/${{ matrix.target }}/release/libviam_rust_utils.a builds/libviam_rust_utils-${{ matrix.platform }}.a
158162 - name : Upload artifacts
159163 uses : actions/upload-artifact@v3
160164 with :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ repository = "https://github.com/viamrobotics/rust-utils"
88authors = [
" Viam, inc. <[email protected] >" ]
99
1010[lib ]
11- crate-type = [" cdylib" ," lib" ]
11+ crate-type = [" cdylib" ," lib" , " staticlib " ]
1212# TODO(RSDK-4119): Enable doctests after getting autogenerated ones to compile.
1313doctest = false
1414# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
You can’t perform that action at this time.
0 commit comments