File: ExtendedTests.yml

package info (click to toggle)
duckdb 1.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 299,196 kB
  • sloc: cpp: 865,414; ansic: 57,292; python: 18,871; sql: 12,663; lisp: 11,751; yacc: 7,412; lex: 1,682; sh: 747; makefile: 564
file content (370 lines) | stat: -rw-r--r-- 13,302 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
name: ExtendedTests
on:
  workflow_dispatch:
  push:
    branches-ignore:
      - 'main'
      - 'feature'
      - 'v*.*-*'
    paths-ignore:
      - '**'
      - '!.github/workflows/ExtendedTests.yml'
  pull_request:
    types: [opened, reopened, ready_for_review]
    paths-ignore:
      - '**'
      - '!.github/workflows/ExtendedTests.yml'

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
  cancel-in-progress: true

env:
  BASE_BRANCH: ${{ github.base_ref || (endsWith(github.ref, '_feature') && 'feature' || 'main') }}

jobs:
  linux-configs-all:
    name: Run all tests with different configurations
    runs-on: ubuntu-24.04
    strategy:
      fail-fast: false
      matrix:
        config: [force_storage, force_storage_restart, latest_storage, block_verification, wal_verification, prefetch_all_parquet_files, no_local_filesystem, block_size_16kB, latest_storage_block_size_16kB, block_allocator_100mib, variant_vector, compressed_in_memory, prefetch_all_storage]
    env:
      BASE_BRANCH: ${{ github.base_ref || 'main' }}

    steps:
    - uses: actions/checkout@v4
      with:
        fetch-depth: 0

    - uses: actions/setup-python@v5
      with:
        python-version: '3.12'

    - name: Install
      shell: bash
      run: sudo apt-get update -y -qq && sudo apt-get install -y -qq ninja-build libcurl4-openssl-dev

    - uses: ./.github/actions/ccache-action

    - name: Build
      id: build
      shell: bash
      env:
        CORE_EXTENSIONS: "json;parquet;icu;tpch;tpcds;autocomplete"
        GEN: ninja
      run: make reldebug

    - name: Run Tests
      shell: bash
      run: |
        ./build/reldebug/test/unittest --test-config test/configs/${{ matrix.config }}.json "*"

  regression-lto-benchmark-runner:
     name: Benchmark runner lto vs non-lto (OSX)
     runs-on: macos-latest
     env:
       CC: clang
       CXX: clang++
       GEN: ninja
       BUILD_BENCHMARK: 1
       CORE_EXTENSIONS: "tpch;tpcds;httpfs"

     steps:
     - uses: actions/checkout@v4
       with:
         fetch-depth: 0

     - uses: actions/setup-python@v5
       with:
         python-version: '3.12'

     - name: Install
       shell: bash
       run: brew install ninja llvm && pip install requests

     - uses: ./.github/actions/ccache-action

     - name: Build
       shell: bash
       run: |
         LTO=full make
         git clone --branch ${{ env.BASE_BRANCH }} https://github.com/duckdb/duckdb.git --depth=1
         cd duckdb
         make
         cd ..

     - name: Set up benchmarks
       shell: bash
       run: |
         cp -r benchmark duckdb/

     - name: Regression Test Micro
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/micro.csv  --threads 2

     - name: Regression Test TPCH
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch.csv --threads 2
     - name: Regression Test TPCH-PARQUET
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch_parquet.csv --threads 2


     - name: Regression Test TPCDS
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpcds.csv --threads 2


     - name: Regression Test H2OAI
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/h2oai.csv --threads 2

     - name: Regression Test IMDB
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/imdb.csv --threads 2

  regression-clang16-vs-clang14-benchmark-runner:
     name: Benchmark runner clang-16 vs clang-14 (OSX)
     runs-on: macos-latest
     env:
       CC: clang
       CXX: clang++
       GEN: ninja
       BUILD_BENCHMARK: 1
       CORE_EXTENSIONS: "tpch;tpcds;httpfs"

     steps:
     - uses: actions/checkout@v4
       with:
         fetch-depth: 0

     - uses: actions/setup-python@v5
       with:
         python-version: '3.12'

     - name: Install
       shell: bash
       run: brew install ninja llvm && pip install requests

     - uses: ./.github/actions/ccache-action

     - name: Build
       shell: bash
       run: |
         CMAKE_LLVM_PATH='/opt/homebrew/opt/llvm' make
         git clone --branch ${{ env.BASE_BRANCH }} https://github.com/duckdb/duckdb.git --depth=1
         cd duckdb
         make
         cd ..

     - name: Set up benchmarks
       shell: bash
       run: |
         cp -r benchmark duckdb/

     - name: Regression Test Micro
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/micro.csv  --threads 2

     - name: Regression Test TPCH
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch.csv --threads 2

     - name: Regression Test TPCH-PARQUET
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch_parquet.csv --threads 2

     - name: Regression Test TPCDS
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpcds.csv --threads 2

     - name: Regression Test H2OAI
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/h2oai.csv --threads 2

     - name: Regression Test IMDB
       if: always()
       shell: bash
       run: |
         python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/imdb.csv --threads 2

  regression-clang-benchmark-runner:
     name: Benchmark runner clang vs gcc
     runs-on: ubuntu-latest
     env:
       CC: gcc
       CXX: g++
       GEN: ninja
       BUILD_BENCHMARK: 1
       BUILD_JEMALLOC: 1
       CORE_EXTENSIONS: "tpch;tpcds;httpfs"

     steps:
       - uses: actions/checkout@v4
         with:
           fetch-depth: 0

       - uses: actions/setup-python@v5
         with:
           python-version: '3.12'

       - name: Install
         shell: bash
         run: sudo apt-get update -y -qq && sudo apt-get install -y -qq ninja-build llvm && pip install requests

       - uses: ./.github/actions/ccache-action

       - name: Build
         shell: bash
         run: |
           #### This should also be alternative way to instal llvm to a specific version
           # wget https://apt.llvm.org/llvm.sh
           # chmod +x llvm.sh
           # sudo ./llvm.sh 17
           #####
           CMAKE_LLVM_PATH='/usr/lib/llvm-14' make
           git clone --branch ${{ env.BASE_BRANCH }} https://github.com/duckdb/duckdb.git --depth=1
           cd duckdb
           make
           cd ..

       - name: Set up benchmarks
         shell: bash
         run: |
           cp -r benchmark duckdb/

       - name: Regression Test Micro
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/micro.csv --threads 2

       - name: Regression Test TPCH
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch.csv --threads 2

       - name: Regression Test TPCH-PARQUET
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch_parquet.csv --threads 2

       - name: Regression Test TPCDS
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpcds.csv --threads 2

       - name: Regression Test H2OAI
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/h2oai.csv --threads 2

       - name: Regression Test IMDB
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/imdb.csv --threads 2

  regression-flto-gcc-benchmark-runner:
     name: Benchmark runner gcc flto vs gcc
     runs-on: ubuntu-latest
     env:
       CC: gcc
       CXX: g++
       GEN: ninja
       BUILD_BENCHMARK: 1
       BUILD_JEMALLOC: 1
       CORE_EXTENSIONS: "tpch;tpcds;httpfs"

     steps:
       - uses: actions/checkout@v4
         with:
           fetch-depth: 0

       - uses: actions/setup-python@v5
         with:
           python-version: '3.12'

       - name: Install
         shell: bash
         run: sudo apt-get update -y -qq && sudo apt-get install -y -qq ninja-build && pip install requests

       - uses: ./.github/actions/ccache-action

       - name: Build
         shell: bash
         run: |
           LTO='full' make
           git clone --branch ${{ env.BASE_BRANCH }} https://github.com/duckdb/duckdb.git --depth=1
           cd duckdb
           make
           cd ..

       - name: Set up benchmarks
         shell: bash
         run: |
           cp -r benchmark duckdb/

       - name: Regression Test Micro
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/micro.csv --threads 2

       - name: Regression Test TPCH
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch.csv --threads 2

       - name: Regression Test TPCH-PARQUET
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpch_parquet.csv --threads 2

       - name: Regression Test TPCDS
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/tpcds.csv --threads 2

       - name: Regression Test H2OAI
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/h2oai.csv --threads 2

       - name: Regression Test IMDB
         if: always()
         shell: bash
         run: |
           python scripts/regression/test_runner.py --nofail --old duckdb/build/release/benchmark/benchmark_runner --new build/release/benchmark/benchmark_runner --benchmarks .github/regression/imdb.csv --threads 2