diff --git a/.github/actions/build-and-test/action.yml b/.github/actions/build-and-test/action.yml index ab43c8d1f..d21a5d3b2 100644 --- a/.github/actions/build-and-test/action.yml +++ b/.github/actions/build-and-test/action.yml @@ -35,7 +35,7 @@ runs: shell: bash working-directory: build env: - CXXFLAGS: -pedantic -Wextra -Werror + CXXFLAGS: -pedantic -Wextra ${{ env.EXTRA_FLAGS }} -Werror - name: build run: make -j3 all man diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67ef1f000..3b2a94d4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -239,6 +239,117 @@ jobs: - uses: ./.github/actions/ubuntu-prerequisites - uses: ./.github/actions/build-and-test + ubuntu22-pg14-clang14-jit: + runs-on: ubuntu-22.04 + + env: + CC: clang-14 + CXX: clang++-14 + LUA_VERSION: 5.4 + LUAJIT_OPTION: ON + POSTGRESQL_VERSION: 14 + POSTGIS_VERSION: 3 + CPP_VERSION: 17 + BUILD_TYPE: Debug + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/ubuntu-prerequisites + - uses: ./.github/actions/build-and-test + + ubuntu22-pg14-clang14-proj6: + runs-on: ubuntu-22.04 + + env: + CC: clang-14 + CXX: clang++-14 + LUA_VERSION: 5.4 + LUAJIT_OPTION: OFF + POSTGRESQL_VERSION: 14 + POSTGIS_VERSION: 3 + CPP_VERSION: 17 + USE_PROJ_LIB: 6 + BUILD_TYPE: Debug + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/ubuntu-prerequisites + - uses: ./.github/actions/build-and-test + + ubuntu22-pg14-clang14-noproj: + runs-on: ubuntu-22.04 + + env: + CC: clang-14 + CXX: clang++-14 + LUA_VERSION: 5.3 + LUAJIT_OPTION: OFF + POSTGRESQL_VERSION: 14 + POSTGIS_VERSION: 3 + CPP_VERSION: 17 + USE_PROJ_LIB: off + BUILD_TYPE: Debug + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/ubuntu-prerequisites + - uses: ./.github/actions/build-and-test + + ubuntu22-pg14-clang14-cpp17: + runs-on: ubuntu-22.04 + + env: + CC: clang-14 + CXX: clang++-14 + LUA_VERSION: 5.4 + LUAJIT_OPTION: OFF + POSTGRESQL_VERSION: 14 + POSTGIS_VERSION: 3 + CPP_VERSION: 17 + USE_PROJ_LIB: 6 + BUILD_TYPE: Debug + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/ubuntu-prerequisites + - uses: ./.github/actions/build-and-test + + ubuntu22-pg14-gcc12-release: + runs-on: ubuntu-22.04 + + env: + CC: gcc-12 + CXX: g++-12 + EXTRA_FLAGS: -Wno-stringop-overread + LUA_VERSION: 5.4 + LUAJIT_OPTION: ON + POSTGRESQL_VERSION: 14 + POSTGIS_VERSION: 3 + CPP_VERSION: 17 + BUILD_TYPE: Release + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/ubuntu-prerequisites + - uses: ./.github/actions/build-and-test + + ubuntu22-pg14-gcc12-release-nolua: + runs-on: ubuntu-22.04 + + env: + CC: gcc-12 + CXX: g++-12 + EXTRA_FLAGS: -Wno-stringop-overread + POSTGRESQL_VERSION: 14 + POSTGIS_VERSION: 3 + CPP_VERSION: 17 + BUILD_TYPE: Release + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/ubuntu-prerequisites + - uses: ./.github/actions/build-and-test + windows: strategy: fail-fast: false