Skip to content

Add DLC Oracle ability (#24) #7

Add DLC Oracle ability (#24)

Add DLC Oracle ability (#24) #7

Workflow file for this run

- name: Install duckdb

Check failure on line 1 in .github/workflows/build-setup.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-setup.yml

Invalid workflow file

You have an error in your yaml syntax on line 1
shell: bash
run: |
if ! command -v unzip &> /dev/null; then
apt-get update && apt-get install -y unzip
fi
if [ ! -d "duckdb_lib" ]; then
mkdir duckdb_lib
else
rm -rf duckdb_lib
mkdir duckdb_lib
echo "Directory $dir already exists."
fi
if [ -f "libduckdb-linux-amd64.zip" ]; then
# File exists, remove it
rm "libduckdb-linux-amd64.zip"
fi
wget "https://github.com/duckdb/duckdb/releases/download/v1.0.0/libduckdb-linux-amd64.zip"
unzip libduckdb-linux-amd64.zip -d duckdb_lib
sudo cp duckdb_lib/lib*.so* /usr/local/lib/
sudo ldconfig
rm libduckdb-linux-amd64.zip
echo "$(pwd)/duckdb_lib"
export DUCKDB_LIB_DIR="$(pwd)/duckdb_lib"