Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
royi-luo committed Dec 19, 2024
1 parent 0080e4a commit 65e95d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ jobs:

- name: Extension test
run: |
python3 scripts/generate-tinysnb.py
python3 scripts/generate-tinysnb.py debug
cd scripts/ && python3 http-server.py &
make extension-test
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ example:
$(call run-cmake-release, -DBUILD_EXAMPLES=TRUE)

extension-test-build:
$(call run-cmake-relwithdebinfo, \
$(call run-cmake-debug, \
-DBUILD_EXTENSIONS="httpfs;duckdb;json;postgres;sqlite;fts;delta;iceberg" \
-DBUILD_EXTENSION_TESTS=TRUE \
-DBUILD_TESTS=TRUE \
Expand Down
2 changes: 2 additions & 0 deletions scripts/generate-tinysnb.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# Define the build type from input
if len(sys.argv) > 1 and sys.argv[1].lower() == "release":
build_type = "release"
elif len(sys.argv) > 1 and sys.argv[1].lower() == "debug":
build_type = "debug"
else:
build_type = "relwithdebinfo"

Expand Down

0 comments on commit 65e95d3

Please sign in to comment.