From 515115a2d81e9b50b1c7c12460a762628014a498 Mon Sep 17 00:00:00 2001 From: Jeff McKenna Date: Thu, 11 Apr 2024 13:35:01 -0300 Subject: [PATCH] remove TravisCI & Appveyor YAML (#333) --- .travis.yml | 64 ----------------------------------------- README.md | 4 +-- appveyor.yml | 81 ---------------------------------------------------- 3 files changed, 2 insertions(+), 147 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bc8568a4..00000000 --- a/.travis.yml +++ /dev/null @@ -1,64 +0,0 @@ -branches: - except: - - /^(cherry-pick-)?backport-\d+-to-/ - -matrix: - fast_finish: true - include: - - os: linux - dist: focal - language: c - sudo: required - env: - - DISTRO=focal - - BUILD_TYPE=maximum - - - os: linux - dist: focal - language: c - sudo: required - env: - - DISTRO=focal - - BUILD_TYPE=minimum - - # - os: linux - # dist: bionic - # language: c - # sudo: required - # env: - # - DISTRO=bionic - # - BUILD_TYPE=maximum - -language: c - -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 -# For testing - - 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 -# Only test with Apache 2.4 - - 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 - diff --git a/README.md b/README.md index 49607dbb..20050a1c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ MapCache ======== -[![Build Status](https://travis-ci.org/MapServer/mapcache.svg?branch=main)](https://travis-ci.org/MapServer/mapcache) -[![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/7al5utxjh83ig71v?svg=true)](https://ci.appveyor.com/project/mapserver/mapcache) +[![Build MapCache on Linux Status](https://github.com/MapServer/mapcache/actions/workflows/build-linux.yml/badge.svg)](https://github.com/MapServer/mapcache/actions?query=workflow%3A%22Build%20MapCache%20on%20Linux%22%20branch%3Amain) +[![Build MapCache on Windows Status](https://github.com/MapServer/mapcache/actions/workflows/build-windows.yml/badge.svg)](https://github.com/MapServer/mapcache/actions?query=workflow%3A%22Build%20MapCache%20on%20Windows%22%20branch%3Amain) Summary ------- diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index ae85e1a8..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,81 +0,0 @@ -image: Visual Studio 2019 - -platform: -- x64 - -environment: - matrix: - - VS_VERSION: Visual Studio 16 2019 - -shallow_clone: true - -build_script: - - echo build_script - - set "BUILD_FOLDER=%APPVEYOR_BUILD_FOLDER:\=/%" - - if "%platform%" == "x64" SET VS_FULL=%VS_VERSION% - - if "%platform%" == "x64" SET VS_ARCH=x64 - - if "%platform%" == "x86" SET VS_FULL=%VS_VERSION% - - if "%platform%" == "x86" SET VS_ARCH=Win32 - - if "%platform%" == "x86" SET SDK=release-1928 - - if "%platform%" == "x64" SET SDK=release-1928-x64 - - if "%platform%" == "x64" call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvars64.bat" - - if "%platform%" == "x86" call "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvars32.bat" - - echo "%VS_FULL%" - - set SDK_ZIP=%SDK%-dev.zip - - set SDK_URL=http://download.gisinternals.com/sdk/downloads/%SDK_ZIP% - - echo "%SDK_ZIP%" - - echo "%SDK_URL%" - - mkdir sdk - - cd sdk - - appveyor DownloadFile "%SDK_URL%" - - 7z x "%SDK_ZIP%" > nul - - cd %APPVEYOR_BUILD_FOLDER% - - set SDK_PREFIX=%BUILD_FOLDER%/sdk/%SDK% - - set SDK_INC=%BUILD_FOLDER%/sdk/%SDK%/include - - set SDK_LIB=%BUILD_FOLDER%/sdk/%SDK%/lib - - set SDK_BIN=%BUILD_FOLDER%/sdk/%SDK%/bin - - set REGEX_DIR=%BUILD_FOLDER%/sdk/support/regex-0.12 - - - cd %SDK_LIB% - - copy "%SDK_LIB%/libfcgi.lib" "%SDK_LIB%/fcgi.lib" /Y - - copy "%SDK_LIB%/apr-1.lib" "%SDK_LIB%/apr-1-1.lib" /Y - - copy "%SDK_LIB%/libapr-1.lib" "%SDK_LIB%/apr-1.lib" /Y > nul - - copy "%SDK_LIB%/aprutil-1.lib" "%SDK_LIB%/aprutil-1-1.lib" /Y > nul - - copy "%SDK_LIB%/libaprutil-1.lib" "%SDK_LIB%/aprutil-1.lib" /Y > nul - - - cd %APPVEYOR_BUILD_FOLDER% - - - mkdir build - - cd build - - cmake -G "%VS_FULL%" -A %VS_ARCH% - -DWITH_APACHE=OFF - -DWITH_FCGI=ON - -DWITH_PCRE=ON - -DWITH_TIFF=OFF - -DCMAKE_PREFIX_PATH=%SDK_PREFIX% .. - - cmake --build . --config Release - - - copy "Release\*dll" "%SDK_BIN%" /Y > nul - - copy "cgi\Release\*exe" "%SDK_BIN%" /Y > nul - - copy "util\Release\*exe" "%SDK_BIN%" /Y > nul - -after_build: - - cd %SDK_BIN% - - 7z a %APPVEYOR_BUILD_FOLDER%\mapcache.zip mapcache.dll - mapcache.fcgi.exe mapcache_seed.exe %APPVEYOR_BUILD_FOLDER%\mapcache.xml - -test_script: - - cd %SDK_BIN% - - set MAPCACHE_CONFIG_FILE=%APPVEYOR_BUILD_FOLDER%\mapcache.xml - - set PATH_INFO="/" - - set REQUEST_METHOD=GET - - set QUERY_STRING="SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image/png&SRS=EPSG:4326&BBOX=0,0,10,10&WIDTH=256&HEIGHT=256&LAYERS=test&TRANSPARENT=TRUE" - - mapcache.fcgi.exe - - mapcache_seed.exe -h - -deploy: off - -artifacts: - - path: mapcache.zip - name: mapcache - type: zip