refactor: Fix github build pipeline
This commit is contained in:
parent
7564869ea8
commit
8e9388c353
5 changed files with 60 additions and 9 deletions
7
build
7
build
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
export OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
|
||||
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
cd $SCRIPT_DIR
|
||||
cargo build --release --locked --offline
|
||||
|
||||
ln -s /rust/vendor $SCRIPT_DIR/vendor
|
||||
|
||||
cargo build --release --offline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue