Closed sanak closed 2 months ago
I could reproduce the error on CI by replacing macOS CI as follows. commit diff: https://github.com/sanak/pgrouting/commit/f09e67842d24f4776807fc7f5501553cb3feec1d
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -41,7 +41,7 @@ permissions:
jobs:
build:
name: macos
- runs-on: macos-latest
+ runs-on: macos-14
steps:
- name: Checkout repository
From the actions log, macos-latest
seems to use older version in GitHub Actions.
macos-latest
:
macos-14
:
And the official document also mentioned about that. https://docs.github.com/ja/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
@pgRouting/admins
Related with this issue, I am thinking to update macos CI with OS 12,13,14 matrix, but is that okay ?
I also want to recover Install pgTAP
and Test
jobs in macos CI.
This has been fixed and merged via #2626, so I close this issue.
Problem From the following PR's comment. https://github.com/pgRouting/pgrouting/pull/2607#issuecomment-1921719270
To Reproduce
Expectation Build should be passed.
Workaround patch is here.
Platform/versions
CMake log
``` -- Setting build type to 'Release' as none was specified. -- CMAKE_BUILD_TYPE Release -- The C compiler identification is AppleClang 15.0.0.15000100 -- The CXX compiler identification is AppleClang 15.0.0.15000100 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /opt/homebrew/bin/git (found version "2.43.0") -- DOXYGEN_MINIMUM_VERSION=1.7 -- SPHINX_MINIMUM_VERSION=4.0 -- POSTGRESQL_MINIMUM_VERSION=9.2.0 -- BOOST_MINIMUM_VERSION=1.56.0 -- POSTGIS_MINIMUM_VERSION=2.0.0 -- Found Boost: /opt/homebrew/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found suitable version "1.84.0", minimum required is "1.56.0") -- Found Perl: /opt/homebrew/bin/perl (found version "5.38.2") -- POSTGRESQL_PG_CONFIG is /opt/homebrew/bin/pg_config -- POSTGRESQL_EXECUTABLE is /opt/homebrew/Cellar/postgresql@14/14.10_1/bin/postgres -- POSTGRESQL_VERSION_STRING in FindPostgreSQL.cmake is PostgreSQL 14.10 (Homebrew) -- POSTGRESQL_INCLUDE_DIR: /opt/homebrew/include/postgresql@14/server -- POSTGRESQL_LIBRARIES: /opt/homebrew/lib/postgresql@14 -- POSTGRESQL_VERSION_STRING=PostgreSQL 14.10 (Homebrew) -- POSTGRESQL_VERSION=14.10 -- PGSQL_VERSION=1410 -- LIBRARY_INSTALL_PATH /opt/homebrew/lib/postgresql@14 -- Performing Test C_COMPILER_SUPPORTS_FPIC -- Performing Test C_COMPILER_SUPPORTS_FPIC - Success -- Performing Test CXX_COMPILER_SUPPORTS_FPIC -- Performing Test CXX_COMPILER_SUPPORTS_FPIC - Success -- Configuring done (3.1s) -- Generating done (0.2s) -- Build files have been written to: /Users/sanak/Projects/pgRouting/git/pgrouting/build ```