File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 sdk : 3.5.2
2828 - name : Install ObjectBox C library
29- run : ./install.sh
29+ run : ./install.sh --install # Install globally for generator integration tests
3030 - name : Integration test
3131 run : ./generator/test.sh
3232
Original file line number Diff line number Diff line change @@ -59,21 +59,21 @@ test-generator:linux:x64:
5959 tags : [ x64, linux, docker ]
6060 image : dart:$DART_VERSION
6161 script :
62- - ./install.sh
62+ - ./install.sh --install # Install globally for generator integration tests
6363 - ./generator/test.sh
6464
6565# Runs generator and objectbox unit tests.
6666.test :
6767 extends : .cache
6868 stage : test
6969 script :
70- - ./install.sh
7170 # Generator tests
7271 - cd generator
7372 - dart pub get
7473 - dart test
7574 # ObjectBox tests
7675 - cd ../objectbox_test
76+ - ../install.sh
7777 - dart pub get
7878 - dart run build_runner build
7979 # Set concurrency=1 to run only one test suite (== test file) at a time.
Original file line number Diff line number Diff line change @@ -9,10 +9,4 @@ cLibVersion=4.0.0
99os=$( uname)
1010cLibArgs=" $* "
1111
12- # if there's no tty this is probably part of a docker build - therefore we install the c-api explicitly
13- if [[ " $os " != MINGW* ]] && [[ " $os " != CYGWIN* ]] && [[ " $cLibArgs " != * " --install" * ]]; then
14- tty -s || cLibArgs=" ${cLibArgs} --install"
15- fi
16-
17-
1812bash <( curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh) ${cLibArgs} ${cLibVersion}
You can’t perform that action at this time.
0 commit comments