"Fossies" - the Fresh Open Source Software Archive

Member "uriparser-0.9.5/appveyor.yml" (18 Mar 2021, 3601 Bytes) of package /linux/www/uriparser-0.9.5.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "appveyor.yml": 0.9.4_vs_0.9.5.

    1 # uriparser - RFC 3986 URI parsing library
    2 #
    3 # Copyright (C) 2018, Sebastian Pipping <sebastian@pipping.org>
    4 # All rights reserved.
    5 #
    6 # Redistribution and use in source  and binary forms, with or without
    7 # modification, are permitted provided  that the following conditions
    8 # are met:
    9 #
   10 #     1. Redistributions  of  source  code   must  retain  the  above
   11 #        copyright notice, this list  of conditions and the following
   12 #        disclaimer.
   13 #
   14 #     2. Redistributions  in binary  form  must  reproduce the  above
   15 #        copyright notice, this list  of conditions and the following
   16 #        disclaimer  in  the  documentation  and/or  other  materials
   17 #        provided with the distribution.
   18 #
   19 #     3. Neither the  name of the  copyright holder nor the  names of
   20 #        its contributors may be used  to endorse or promote products
   21 #        derived from  this software  without specific  prior written
   22 #        permission.
   23 #
   24 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
   25 # "AS IS" AND  ANY EXPRESS OR IMPLIED WARRANTIES,  INCLUDING, BUT NOT
   26 # LIMITED TO,  THE IMPLIED WARRANTIES OF  MERCHANTABILITY AND FITNESS
   27 # FOR  A  PARTICULAR  PURPOSE  ARE  DISCLAIMED.  IN  NO  EVENT  SHALL
   28 # THE  COPYRIGHT HOLDER  OR CONTRIBUTORS  BE LIABLE  FOR ANY  DIRECT,
   29 # INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL DAMAGES
   30 # (INCLUDING, BUT NOT LIMITED TO,  PROCUREMENT OF SUBSTITUTE GOODS OR
   31 # SERVICES; LOSS OF USE, DATA,  OR PROFITS; OR BUSINESS INTERRUPTION)
   32 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   33 # STRICT  LIABILITY,  OR  TORT (INCLUDING  NEGLIGENCE  OR  OTHERWISE)
   34 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   35 # OF THE POSSIBILITY OF SUCH DAMAGE.
   36 #
   37 version: '{build}-{branch}'
   38 
   39 configuration:
   40   - Debug
   41 # - Release
   42 
   43 environment:
   44   GTEST_VERSION: 1.8.1
   45 
   46   # https://www.appveyor.com/docs/windows-images-software/
   47   matrix:
   48   # Visual Studio 2015, 32 bit
   49     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
   50       CMAKE_GENERATOR: Visual Studio 14 2015
   51       PLATFORM: Win32
   52 
   53   # Visual Studio 2015, 64 bit
   54     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
   55       CMAKE_GENERATOR: Visual Studio 14 2015 Win64
   56       PLATFORM: x64
   57 
   58   # Visual Studio 2017, 32 bit
   59     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
   60       CMAKE_GENERATOR: Visual Studio 15 2017
   61       PLATFORM: Win32
   62 
   63   # Visual Studio 2017, 64 bit
   64     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
   65       CMAKE_GENERATOR: Visual Studio 15 2017 Win64
   66       PLATFORM: x64
   67 
   68 before_build:
   69   - curl -fsSL -o release-%GTEST_VERSION%.zip https://github.com/google/googletest/archive/release-%GTEST_VERSION%.zip
   70   - unzip -q release-%GTEST_VERSION%.zip
   71   - cd googletest-release-%GTEST_VERSION%
   72   - cmake
   73       -G "%CMAKE_GENERATOR%"
   74       -DCVF_VERSION=%GTEST_VERSION%
   75       .
   76   - cmake --build . --config Release -- /m
   77 # BEGIN Enrich folder to make FindGTest.cmake happy
   78   - md googletest\lib
   79   - copy googlemock\gtest\Release\gtest.lib googletest\lib
   80   - copy googlemock\gtest\Release\gtest_main.lib googletest\lib
   81 # END
   82   - cd ..
   83   - mkdir build
   84   - cd build
   85 # NOTE: GTEST_ROOT is relative to source CMakeLists.txt, not the build directory
   86   - cmake
   87       -G "%CMAKE_GENERATOR%"
   88       -DGTEST_ROOT=googletest-release-%GTEST_VERSION%/googletest
   89       -DURIPARSER_BUILD_DOCS=OFF
   90       -DURIPARSER_MSVC_RUNTIME=/MT
   91       -DURIPARSER_WARNINGS_AS_ERRORS=ON
   92       ..
   93 
   94 build:
   95   parallel: true
   96   project: $(APPVEYOR_BUILD_FOLDER)\build\$(APPVEYOR_PROJECT_NAME).sln
   97 
   98 test_script:
   99   - '%APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\testrunner.exe'