File tree 3 files changed +21
-4
lines changed
3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 58
58
cd duckdb
59
59
git checkout ${{ matrix.duckdb_version }}
60
60
61
+ - name : Setup Ccache
62
+ uses : hendrikmuhs/ccache-action@main
63
+ with :
64
+ key : ${{ github.job }}
65
+ save : ${{ github.ref == 'refs/heads/main' || github.repository != 'duckdb/postgres_scanner' }}
66
+
61
67
- name : Setup vcpkg
62
68
63
69
with :
Original file line number Diff line number Diff line change @@ -134,10 +134,17 @@ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/postgres)
134
134
135
135
# Extract the PostgreSQL source code
136
136
message (STATUS "Extracting PostgreSQL source code" )
137
- execute_process (
138
- COMMAND tar -xzf ${CMAKE_CURRENT_SOURCE_DIR} /pg.tar.gz --strip-components 1 --force-local -C postgres
139
- RESULT_VARIABLE PG_EXTRACT_RESULT
140
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
137
+ if (WIN32 )
138
+ execute_process (
139
+ COMMAND tar -xzf ${CMAKE_CURRENT_SOURCE_DIR} /pg.tar.gz --strip-components 1 --force-local -C postgres
140
+ RESULT_VARIABLE PG_EXTRACT_RESULT
141
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
142
+ else ()
143
+ execute_process (
144
+ COMMAND tar -xzf ${CMAKE_CURRENT_SOURCE_DIR} /pg.tar.gz --strip-components 1 -C postgres
145
+ RESULT_VARIABLE PG_EXTRACT_RESULT
146
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
147
+ endif ()
141
148
142
149
# Remove the downloaded tarball
143
150
file (REMOVE ${CMAKE_CURRENT_SOURCE_DIR} /pg.tar.gz)
Original file line number Diff line number Diff line change @@ -7,5 +7,9 @@ duckdb_extension_load(postgres_scanner
7
7
LOAD_TESTS
8
8
)
9
9
10
+ duckdb_extension_load(tpch)
11
+ duckdb_extension_load(tpcds)
12
+ duckdb_extension_load(json)
13
+
10
14
# Any extra extensions that should be built
11
15
# e.g.: duckdb_extension_load(json)
You can’t perform that action at this time.
0 commit comments