@@ -24,11 +24,12 @@ jobs:
2424 test :
2525 needs : detect-pgversion
2626 env :
27- SQLITE_VERSION : " 3460000 "
28- SQLITE_YEAR : " 2024 "
27+ SQLITE_VERSION : " 3490000 "
28+ SQLITE_YEAR : " 2025 "
2929 POSTGIS_VERSION : " 3.4.2"
3030 HTTP_PROXY : " "
3131 HTTPS_PROXY : " "
32+ SQLITE_FOR_TESTING_DIR : " /opt/CI_sqlite"
3233 strategy :
3334 fail-fast : false
3435 matrix :
@@ -46,32 +47,38 @@ jobs:
4647 - name : set_proxy
4748 run : bash GitHubActions/env.sh
4849
50+ - name : download PostGIS, ${{ matrix.config }} mode
51+ run : |
52+ if [[ "${{ matrix.config }}" == "postgis" ]]; then
53+ bash GitHubActions/download_postgis.sh ${{ env.POSTGIS_VERSION }}
54+ fi
55+
4956 - name : install locales
5057 run : bash GitHubActions/install_locales.sh
5158
52- - name : build PostgreSQL ${{ matrix.pg }} with ${{ matrix.config }}
59+ - name : build PostgreSQL ${{ matrix.pg }}
5360 run : bash GitHubActions/build_postgres.sh ${{ matrix.pg }}
5461
55- - name : build PostGIS ${{ env.POSTGIS_VERSION }} for PostgreSQL ${{ matrix.pg }}, ${{ matrix.config }} mode
56- run : |
57- if [[ "${{ matrix.config }}" == "postgis" ]]; then
58- bash GitHubActions/build_postgis.sh ${{ matrix.pg }} ${{ env.POSTGIS_VERSION }}
59- fi
60-
6162 - name : install SQLite, ${{ matrix.config }} mode
6263 run : |
6364 if [[ "${{ matrix.config }}" == "default" ]]; then
64- bash GitHubActions/install_sqlite.sh ${{ env.SQLITE_VERSION }} ${{ env.SQLITE_YEAR }} " ${{ matrix.config }}"
65+ bash GitHubActions/install_sqlite.sh ${{ env.SQLITE_VERSION }} ${{ env.SQLITE_YEAR }} ${{ matrix.config }} ${{ env.SQLITE_FOR_TESTING_DIR }}
6566 elif [[ "${{ matrix.config }}" == "postgis" ]]; then
66- bash GitHubActions/install_sqlite.sh ${{ env.SQLITE_VERSION }} ${{ env.SQLITE_YEAR }} "${{ matrix.config }}" --enable-rtree
67+ bash GitHubActions/install_sqlite.sh ${{ env.SQLITE_VERSION }} ${{ env.SQLITE_YEAR }} ${{ matrix.config }} ${{ env.SQLITE_FOR_TESTING_DIR }} --enable-rtree
68+ fi
69+
70+ - name : build PostGIS ${{ env.POSTGIS_VERSION }} for PostgreSQL ${{ matrix.pg }}, ${{ matrix.config }} mode
71+ run : |
72+ if [[ "${{ matrix.config }}" == "postgis" ]]; then
73+ bash GitHubActions/build_postgis.sh ${{ matrix.pg }} ${{ env.POSTGIS_VERSION }}
6774 fi
6875
6976 - name : build sqlite_fdw, ${{ matrix.config }} mode
7077 run : |
71- bash GitHubActions/build_sqlite_fdw.sh ${{ matrix.pg }} ${{ matrix.config }}
78+ bash GitHubActions/build_sqlite_fdw.sh ${{ matrix.pg }} ${{ matrix.config }} ${{ env.SQLITE_FOR_TESTING_DIR }}
7279
7380 - name : execute sqlite_fdw test
74- run : bash GitHubActions/execute_test.sh ${{ matrix.pg }} ${{ matrix.config }}
81+ run : bash GitHubActions/execute_test.sh ${{ matrix.pg }} ${{ matrix.config }} ${{ env.SQLITE_FOR_TESTING_DIR }}
7582
7683 - name : download output files (regression.diffs)
7784 if : failure()
8390 workdir/postgresql-${{ matrix.pg }}/contrib/sqlite_fdw/regression.out
8491 workdir/postgresql-${{ matrix.pg }}/contrib/sqlite_fdw/results
8592 retention-days : 7
93+
0 commit comments