Skip to content

Commit 5795c45

Browse files
committed
initial
Signed-off-by: Mikhail Kot <mikhail@spiraldb.com>
1 parent ee2cd67 commit 5795c45

55 files changed

Lines changed: 3130 additions & 2470 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -460,20 +460,20 @@ jobs:
460460
sccache: s3
461461
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
462462
- uses: ./.github/actions/setup-prebuild
463+
- name: Prepare FFI library
464+
run: |
465+
cargo build --profile ci -p vortex-ffi
463466
- name: Build and run C++ unit tests
464467
run: |
465468
mkdir -p vortex-cxx/build
466-
cmake -S vortex-cxx -B vortex-cxx/build -DVORTEX_ENABLE_TESTING=ON -DVORTEX_ENABLE_ASAN=ON
469+
cmake -S vortex-cxx -B vortex-cxx/build -DBUILD_TESTS=ON -DSANITIZER=asan -DRUST_BUILD_PROFILE=ci
467470
cmake --build vortex-cxx/build --parallel $(nproc)
468471
ctest --test-dir vortex-cxx/build -j $(nproc) -V
469472
- name: Build and run the example in release mode
470473
run: |
471-
cmake -S vortex-cxx/examples -B vortex-cxx/examples/build -DCMAKE_BUILD_TYPE=Release
474+
cmake -S vortex-cxx -B vortex-cxx/examples/build -DBUILD_EXAMPLES=1 -DCMAKE_BUILD_TYPE=Release -DRUST_BUILD_PROFILE=ci
472475
cmake --build vortex-cxx/examples/build --parallel $(nproc)
473-
vortex-cxx/examples/build/hello-vortex vortex-cxx/examples/goldenfiles/example.vortex
474-
- uses: ./.github/actions/check-rebuild
475-
with:
476-
command: "cargo build --profile ci --locked -p vortex-cxx --lib"
476+
vortex-cxx/examples/build/examples/hello-vortex
477477
478478
sqllogic-test:
479479
name: "SQL logic tests"

Cargo.lock

Lines changed: 0 additions & 118 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ members = [
3232
"vortex-cuda/gpu-scan-cli",
3333
"vortex-cuda/macros",
3434
"vortex-cuda/nvcomp",
35-
"vortex-cxx",
3635
"vortex-ffi",
3736
"fuzz",
3837
"vortex-jni",

vortex-cxx/.clang-format

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: Copyright the Vortex contributors
3+
NamespaceIndentation: None
4+
BasedOnStyle: Google
5+
IndentWidth: 4
6+
AccessModifierOffset: -4

vortex-cxx/.clang-tidy

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# SPDX-License-Identifier: Apache-2.0
2-
# SPDX-FileCopyrightText: Copyright the Vortex contributors
1+
# SPDX-License-Identifier: Apache-2.0
2+
# SPDX-FileCopyrightText: Copyright the Vortex contributors
33

44
Checks: |
55
-*,
@@ -43,7 +43,7 @@ Checks: |
4343
-bugprone-unused-local-non-trivial-variable,
4444
-bugprone-empty-catch,
4545
WarningsAsErrors: '*'
46-
HeaderFilterRegex: '(cpp|examples)/.*\.(cpp|hpp)$'
46+
HeaderFilterRegex: '(examples)/.*\.(cpp|hpp)$'
4747
FormatStyle: none
4848
CheckOptions:
4949
- key: readability-identifier-naming.ClassCase
@@ -90,4 +90,3 @@ CheckOptions:
9090
value: lower_case
9191
- key: cppcoreguidelines-rvalue-reference-param-not-moved.IgnoreUnnamedParams
9292
value: true
93-

0 commit comments

Comments
 (0)