Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pcre2. #314

Merged
merged 5 commits into from
Jul 28, 2023

handle CMake warnings

784cc10
Select commit
Loading
Failed to load commit list.
Merged

Add support for pcre2. #314

handle CMake warnings
784cc10
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jul 28, 2023 in 4m 39s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #314 Add support for pcre2..
Any changes that have been made to the main branch before the build ran are also included.

Jobs and Stages

This build has two jobs, running in parallel.

Job ENV OS State
300.1 DISTRO=focal Linux passed
300.2 DISTRO=focal Linux passed

Build Configuration

Build Option Setting
Language C
Operating System Linux (Xenial)
Build Configuration
{
  "language": "c",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "branches": {
    "except": [
      "/^(cherry-pick-)?backport-\\d+-to-/"
    ]
  },
  "before_install": [
    "if test \"$DISTRO\" = \"bionic\"; then sudo mv /etc/apt/sources.list.d/pgdg* /tmp; fi",
    "sudo apt-get purge -y libgdal* libgeos* libspatialite*",
    "sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable",
    "sudo apt-get update",
    "sudo apt-get install cmake libspatialite-dev libfcgi-dev libproj-dev libgeos-dev libgdal-dev libtiff-dev libgeotiff-dev apache2-dev libpcre3-dev libsqlite3-dev libdb-dev",
    "sudo apt-get install libxml2-utils apache2 gdal-bin"
  ],
  "script": [
    "mkdir build",
    "cd build",
    "if test \"$BUILD_TYPE\" = \"maximum\"; then cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TIFF=ON -DWITH_GEOTIFF=ON -DWITH_TIFF_WRITE_SUPPORT=ON -DWITH_PCRE=ON -DWITH_SQLITE=ON -DWITH_BERKELEY_DB=ON; else cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TIFF=OFF -DWITH_GEOTIFF=OFF -DWITH_TIFF_WRITE_SUPPORT=OFF -DWITH_PCRE=OFF -DWITH_SQLITE=OFF -DWITH_BERKELEY_DB=OFF -DWITH_GDAL=OFF -DWITH_GEOS=OFF -DWITH_FCGI=OFF -DWITH_CGI=OFF -DWITH_APACHE=OFF -DWITH_OGR=OFF -DWITH_MAPSERVER=OFF -DWITH_MAPCACHE_DETAIL=OFF; fi",
    "make -j3",
    "sudo make install",
    "if [ \"$BUILD_TYPE\" = \"maximum\" ]; then cd ../tests; sh ./travis_setup.sh; sh ./run_tests.sh; sudo systemctl -l status apache2.service; cat /tmp/mc/mapcache.xml; ls -lah /tmp/mc/mapcache.xml; fi"
  ],
  "notifications": {
    "irc": [
      {
        "channels": [
          "irc.libera.chat#mapcache"
        ],
        "use_notice": true
      }
    ]
  },
  "jobs": {
    "fast_finish": true,
    "include": [
      {
        "os": "linux",
        "dist": "focal",
        "language": "c",
        "sudo": true,
        "env": [
          {
            "DISTRO": "focal"
          },
          {
            "BUILD_TYPE": "maximum"
          }
        ]
      },
      {
        "os": "linux",
        "dist": "focal",
        "language": "c",
        "sudo": true,
        "env": [
          {
            "DISTRO": "focal"
          },
          {
            "BUILD_TYPE": "minimum"
          }
        ]
      }
    ]
  }
}