Drop sql2 from the build tooling (#3727)

This commit is contained in:
Rushmore Mushambi 2024-03-20 15:48:01 +02:00 committed by GitHub
parent d9eb60f2a5
commit eea01c7f76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,9 @@ defaults:
run:
shell: bash
env:
RUSTFLAGS: "--cfg surrealdb_unstable"
jobs:
prepare-vars:
name: Prepare vars
@ -346,7 +349,7 @@ jobs:
brew install protobuf
# Build
features=storage-tikv,http-compression,sql2,jwks,${{ inputs.extra-features }}
features=storage-tikv,http-compression,jwks,${{ inputs.extra-features }}
# Download libonnxruntime's static library and tell ORT crate to use it
mkdir /tmp/onnxruntime
@ -373,7 +376,7 @@ jobs:
brew install protobuf
# Build
features=storage-tikv,http-compression,sql2,jwks,${{ inputs.extra-features }}
features=storage-tikv,http-compression,jwks,${{ inputs.extra-features }}
# Download libonnxruntime's static library and tell ORT crate to use it
mkdir /tmp/onnxruntime
@ -395,7 +398,7 @@ jobs:
file: surreal-${{ needs.prepare-vars.outputs.name }}.linux-amd64
build-step: |
# Build
features=storage-tikv,http-compression,sql2,jwks,${{ inputs.extra-features }}
features=storage-tikv,http-compression,jwks,${{ inputs.extra-features }}
# Download libonnxruntime's static library and tell ORT crate to use it
tmpdir=$(mktemp -d)
@ -433,7 +436,7 @@ jobs:
set -x
# Build
features=storage-tikv,http-compression,sql2,jwks,${{ inputs.extra-features }}
features=storage-tikv,http-compression,jwks,${{ inputs.extra-features }}
# Download libonnxruntime's static library and tell ORT crate to use it
tmpdir=$(mktemp -d)
@ -474,7 +477,7 @@ jobs:
vcpkg integrate install
# Build
features=storage-tikv,http-compression,sql2,jwks,${{ inputs.extra-features }}
features=storage-tikv,http-compression,jwks,${{ inputs.extra-features }}
# Download libonnxruntime's static library and tell ORT crate to use it
tmp_dir=$(mktemp -d)
@ -524,7 +527,6 @@ jobs:
- name: Build step
env:
SURREAL_BUILD_METADATA: ${{ needs.prepare-vars.outputs.build-metadata }}
RUSTFLAGS: "--cfg surrealdb_unstable"
run: ${{ matrix.build-step }}
- name: Upload artifacts