Skip to content

Commit 3690f46

Browse files
committed
please complete ci
1 parent 2a018c5 commit 3690f46

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
2121
yum install -y git
2222
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 0
2626

@@ -58,7 +58,7 @@ jobs:
5858
source ./create-postgres-tables.sh
5959
./duckdb/build/release/test/unittest --test-dir . "[postgres_scanner]"
6060
61-
- uses: actions/upload-artifact@v2
61+
- uses: actions/upload-artifact@v3
6262
with:
6363
name: postgres-scanner-linux
6464
path: |
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: windows-latest
7171

7272
steps:
73-
- uses: actions/checkout@v2
73+
- uses: actions/checkout@v3
7474
with:
7575
fetch-depth: 0
7676

@@ -87,9 +87,9 @@ jobs:
8787
- name: Test
8888
shell: bash
8989
run: |
90-
./build/release/test/Debug/unittest --test-dir . test/postgres_scanner/aws-rds.test
90+
./build/release/test/Release/unittest --test-dir . test/postgres_scanner/aws-rds.test
9191
92-
- uses: actions/upload-artifact@v2
92+
- uses: actions/upload-artifact@v3
9393
with:
9494
name: postgres-scanner-windows
9595
path: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ debug:
2929
release: pull
3030
mkdir -p build/release && \
3131
cd build/release && \
32-
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ${OSX_BUILD_UNIVERSAL_FLAG} -DBUILD_TPCH_EXTENSION=1 -DBUILD_TPCDS_EXTENSION=1 -DEXTENSION_STATIC_BUILD=1 ../../duckdb/CMakeLists.txt -DEXTERNAL_EXTENSION_DIRECTORIES=${POSTGRES_SCANNER_PATH} -B. -S ../../duckdb && \
32+
cmake -DCMAKE_BUILD_TYPE=Release ${OSX_BUILD_UNIVERSAL_FLAG} -DBUILD_TPCH_EXTENSION=1 -DBUILD_TPCDS_EXTENSION=1 -DEXTENSION_STATIC_BUILD=1 ../../duckdb/CMakeLists.txt -DEXTERNAL_EXTENSION_DIRECTORIES=${POSTGRES_SCANNER_PATH} -B. -S ../../duckdb && \
3333
cmake --build . --parallel
3434

3535

create-postgres-tables.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
11
#!/bin/bash
2-
export PATH=./build/release:./build/release/Debug/:$PATH
32
echo "
43
CREATE SCHEMA tpch;
54
CREATE SCHEMA tpcds;
65
CALL dbgen(sf=0.01, schema='tpch');
76
CALL dsdgen(sf=0.01, schema='tpcds');
8-
EXPORT DATABASE 'postgresscannertmp';
7+
EXPORT DATABASE '/tmp/postgresscannertmp';
98
" | \
10-
duckdb
9+
./build/release/duckdb
1110

1211
dropdb --if-exists postgresscanner
1312
createdb postgresscanner
1413

15-
psql -d postgresscanner < postgresscannertmp/schema.sql
16-
psql -d postgresscanner < postgresscannertmp/load.sql
14+
psql -d postgresscanner < /tmp/postgresscannertmp/schema.sql
15+
psql -d postgresscanner < /tmp/postgresscannertmp/load.sql
1716
psql -d postgresscanner < all_pg_types.sql
1817
psql -d postgresscanner < decimals.sql
1918

20-
rm -rf postgresscannertmp
19+
rm -rf /tmp/postgresscannertmp
2120

2221
echo "
2322
create table nulltest (c1 integer, c2 integer, c3 integer, c4 integer, c5 integer, c6 integer, c7 integer, c8 integer, c9 integer, c10 integer);

duckdb

Submodule duckdb updated 122 files

0 commit comments

Comments
 (0)