Skip to content

Commit 4922a2e

Browse files
committed
Add crushtest in build-and-check-windows-latest workflow
1 parent e4a9daf commit 4922a2e

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

.github/workflows/build-and-check-windows-latest.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,28 @@ jobs:
6464
make --keep-going -j$(nproc) PROFILE='-Werror -Wall' USE_HEALPIX=0
6565
make USE_HEALPIX=0 install
6666
67-
- name: Test pgSphere
67+
- name: Test pgSphere (installcheck)
6868
run: |
6969
initdb -D pgdata -U postgres
7070
pg_ctl -D pgdata -l postgres.log start
7171
make USE_HEALPIX=0 installcheck
72+
pg_ctl -D pgdata -l postgres_installcheck.log stop
73+
rm -rf pgdata
7274
7375
- name: Show installcheck regression.diffs
7476
if: ${{ failure() }}
7577
run: cat regression.diffs
7678

79+
- name: Test pgSphere (crushtest)
80+
run: |
81+
initdb -D pgdata -U postgres
82+
pg_ctl -D pgdata -l postgres_crushtest.log start
83+
make USE_HEALPIX=0 crushtest
84+
85+
- name: Show crushtest regression.diffs
86+
if: ${{ failure() }}
87+
run: cat regression.diffs
88+
7789
- name: Upload artifacts
7890
uses: actions/upload-artifact@v4
7991
if: success() || failure()

expected/init_extended.out

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
-- indexed operations.....
22
-- spoint_data and scircle_data tables have to be created and indexed using
3-
\! testsuite/gen_point.pl 1 > results/gen_point_1.sql
3+
\! perl testsuite/gen_point.pl 1 > results/gen_point_1.sql
44
\i results/gen_point_1.sql
55
CREATE TABLE spoint_data (sp spoint);
66
COPY spoint_data (sp) FROM stdin;
77
CREATE INDEX sp_idx ON spoint_data USING gist (sp);
88
-- and
9-
\! testsuite/gen_circle.pl 1 0.1 > results/gen_circle_1_0.1.sql
9+
\! perl testsuite/gen_circle.pl 1 0.1 > results/gen_circle_1_0.1.sql
1010
\i results/gen_circle_1_0.1.sql
1111
CREATE TABLE scircle_data (sc scircle);
1212
COPY scircle_data (sc) FROM stdin;
1313
CREATE INDEX sc_idx ON scircle_data USING gist (sc);
1414
--
15-
\! testsuite/gen_poly.pl 1 0.1 4 > results/gen_poly_1_0.1_4.sql
15+
\! perl testsuite/gen_poly.pl 1 0.1 4 > results/gen_poly_1_0.1_4.sql
1616
\i results/gen_poly_1_0.1_4.sql
1717
CREATE TABLE spoly_data (sp spoly);
1818
COPY spoly_data (sp) FROM stdin;

sql/init_extended.sql

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
-- spoint_data and scircle_data tables have to be created and indexed using
44

5-
\! testsuite/gen_point.pl 1 > results/gen_point_1.sql
5+
\! perl testsuite/gen_point.pl 1 > results/gen_point_1.sql
66
\i results/gen_point_1.sql
77

88
-- and
99

10-
\! testsuite/gen_circle.pl 1 0.1 > results/gen_circle_1_0.1.sql
10+
\! perl testsuite/gen_circle.pl 1 0.1 > results/gen_circle_1_0.1.sql
1111
\i results/gen_circle_1_0.1.sql
1212

1313
--
1414

15-
\! testsuite/gen_poly.pl 1 0.1 4 > results/gen_poly_1_0.1_4.sql
15+
\! perl testsuite/gen_poly.pl 1 0.1 4 > results/gen_poly_1_0.1_4.sql
1616
\i results/gen_poly_1_0.1_4.sql

0 commit comments

Comments
 (0)