Skip to content

Commit

Permalink
chore: upgrade c-api to v0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Dec 19, 2021
1 parent 4691780 commit 2cb7e74
Show file tree
Hide file tree
Showing 6 changed files with 615 additions and 379 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Expand Up @@ -10,4 +10,8 @@
data.mdb
lock.mdb

build-artifacts
build-artifacts

# created by install scripts
objectboxlib
download
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
@@ -1,7 +1,7 @@
.test:
stage: test
script:
- bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh) --quiet --sync 0.14.0
- bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh) --quiet --sync 0.15.0
- export CGO_LDFLAGS="-L$(pwd -P)/lib -Wl,-rpath -Wl,$(pwd -P)/lib"
- '[[ "$(uname)" != MINGW* ]] || cp -vf lib/objectbox.dll /c/TDM-GCC-64/lib/' # copy the dll or ld.exe fails
- ./build/build.sh ${BUILD_ARGS:-}
Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Expand Up @@ -7,7 +7,7 @@ $ErrorActionPreference = "Stop"
# Configure supported HTTPS protocols
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12, [Net.SecurityProtocolType]::Tls11, [Net.SecurityProtocolType]::Tls

$libVersion = '0.14.0'
$libVersion = '0.15.0'
$libVariant = 'objectbox' # or 'objectbox-sync'
$downloadDir = 'download'
$extractedLibDir = "$downloadDir\objectbox-$libVersion"
Expand Down
2 changes: 1 addition & 1 deletion install.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail

cLibVersion=0.14.0
cLibVersion=0.15.0
os=$(uname)
cLibArgs="$*"

Expand Down

0 comments on commit 2cb7e74

Please sign in to comment.