3
3
# GENERAL
4
4
# -----------------------------------------------------------------------------------------------------------------------
5
5
6
- variables :
7
- PYTHON_VERSION : " 3.10"
8
-
9
6
default :
10
7
before_script :
11
8
- >
@@ -133,7 +130,7 @@ build:debug:linux-amd64:
133
130
- .shared
134
131
- .build_cache
135
132
script :
136
- - pipenv --python $PYTHON_VERSION sync
133
+ - pipenv sync
137
134
- pipenv run cmake -S . -B build/${BUILD_TYPE}
138
135
--fresh
139
136
-G Ninja
@@ -164,7 +161,7 @@ build:debug:macos-amd64:
164
161
- .shared
165
162
- .build_cache
166
163
script :
167
- - pipenv --python $PYTHON_VERSION sync
164
+ - pipenv sync
168
165
- pipenv run cmake -S . -B build/${BUILD_TYPE}
169
166
--fresh
170
167
-G Ninja
@@ -199,7 +196,7 @@ unittest:linux-amd64:
199
196
- job : " build:debug:linux-amd64"
200
197
artifacts : true
201
198
script :
202
- - pipenv --python $PYTHON_VERSION sync
199
+ - pipenv sync
203
200
- env pipenv run utils/unittest-parallel.py -r --out unittest-sanity.xml build/debug/bin/unittest -t '[test-sanity]' || true
204
201
- head -n1 unittest-sanity.xml | perl -n -e '/errors="(\d+)" failures="(\d+)" tests="(\d+)/ && exit ($1 != 2 or $2 != 1 or $3 != 2)' # we expect 2 errors (abort & segv), one failure (failure), and two tests run (failure & success)
205
202
- env UBSAN_OPTIONS=print_stacktrace=1 ASAN_OPTIONS=detect_stack_use_after_return=1 pipenv run utils/unittest-parallel.py -r --out unittest-results.xml build/debug/bin/unittest
@@ -220,7 +217,7 @@ unittest:macos-amd64:
220
217
- job : " build:debug:macos-amd64"
221
218
artifacts : true
222
219
script :
223
- - pipenv --python $PYTHON_VERSION sync
220
+ - pipenv sync
224
221
- env pipenv run utils/unittest-parallel.py -r --out unittest-sanity.xml build/debug/bin/unittest -t '[test-sanity]' || true
225
222
- head -n1 unittest-sanity.xml | perl -n -e '/errors="(\d+)" failures="(\d+)" tests="(\d+)/ && exit ($1 != 2 or $2 != 1 or $3 != 2)' # we expect 2 errors (abort & segv), one failure (failure), and two tests run (failure & success)
226
223
- env UBSAN_OPTIONS=print_stacktrace=1 ASAN_OPTIONS=detect_stack_use_after_return=1:detect_container_overflow=0 MallocNanoZone=0 pipenv run utils/unittest-parallel.py -r --out unittest-results.xml build/debug/bin/unittest
@@ -241,7 +238,7 @@ integrationtest:linux-amd64:
241
238
- job : " build:debug:linux-amd64"
242
239
artifacts : true
243
240
script :
244
- - pipenv --python $PYTHON_VERSION sync
241
+ - pipenv sync
245
242
- env UBSAN_OPTIONS=print_stacktrace=1 ASAN_OPTIONS=detect_stack_use_after_return=1 --unset=TERM pipenv run test/IntegrationTest.py --required-only --debug --builddir build/debug
246
243
247
244
integrationtest:macos-amd64 :
@@ -253,7 +250,7 @@ integrationtest:macos-amd64:
253
250
- job : " build:debug:macos-amd64"
254
251
artifacts : true
255
252
script :
256
- - pipenv --python $PYTHON_VERSION sync
253
+ - pipenv sync
257
254
- env UBSAN_OPTIONS=print_stacktrace=1 ASAN_OPTIONS=detect_stack_use_after_return=1:detect_container_overflow=0 MallocNanoZone=0 --unset=TERM pipenv run test/IntegrationTest.py --required-only --debug --builddir build/debug
258
255
259
256
ensure-exported-symbols:debug:linux :
@@ -402,7 +399,7 @@ benchmark-test:release:linux-amd64:
402
399
- wget 'https://github.com/duckdb/duckdb/releases/download/v0.10.2/duckdb_cli-linux-amd64.zip'
403
400
- unzip 'duckdb_cli-linux-amd64.zip' -d 'benchmark/database_connectors/'
404
401
# Run benchmarks
405
- - pipenv --python $PYTHON_VERSION sync
402
+ - pipenv sync
406
403
- env pipenv run benchmark/Benchmark.py -v -b mutable -o dummy.csv benchmark/dummy
407
404
# Validate results
408
405
- cat dummy.csv | perl -n -e '/dummy,Dummy,(.*),Execution Time/ && print "$1\n"' | sort | uniq > names.txt # collect system names
0 commit comments