mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-18 14:00:39 +00:00
feat: check aft build in Makefile
This commit is contained in:
11
scripts/check_pyo3_link_script.sh
Executable file
11
scripts/check_pyo3_link_script.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# This script is only used in CI to check if the pyo3 backend is linked correctly
|
||||
echo $(pwd)
|
||||
if [[ $FEATURES == *pyo3_backend* ]]; then
|
||||
cp target/release/greptime scripts
|
||||
if yes | ./scripts/greptime.sh --version &> /dev/null; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user