"Fossies" - the Fresh Open Source Software Archive

Member "exiv2-0.27.5-Source/appveyor_mingw_cygwin.yml" (21 Oct 2021, 3080 Bytes) of package /linux/misc/exiv2-0.27.5-Source.tar.gz:


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.

    1 init:
    2   - echo %PYTHON%
    3 
    4 environment:
    5   PYTHON: "C:/Python37-x64"
    6 
    7   matrix:
    8     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
    9       BUILD: MINGW64
   10       INTEGRATION_TESTS: 1
   11       ARCHITECTURE: x86_64
   12       UNIT_TESTS: 1
   13       WEBREADY: False
   14       WARNINGS_AS_ERRORS: ON
   15     - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
   16       BUILD: CYGWIN64
   17       INTEGRATION_TESTS: 1
   18       ARCHITECTURE: x86_64
   19       UNIT_TESTS: 1
   20       WEBREADY: False
   21       WARNINGS_AS_ERRORS: ON
   22 
   23 shallow_clone: true
   24 
   25 install:
   26     - echo %APPVEYOR_BUILD_FOLDER%
   27     - if "%BUILD%"=="MINGW64" set "PATH=c:\msys64\mingw64\bin;c:\msys64\usr\bin;c:\msys64\usr\local\bin;"
   28     - if "%BUILD%"=="MINGW64" C:\msys64\usr\bin\bash -c "python -m pip install --upgrade pip;pip3.exe install lxml ; for i in base-devel git coreutils dos2unix tar diffutils make  \
   29          mingw-w64-x86_64-toolchain mingw-w64-x86_64-gcc      mingw-w64-x86_64-gdb     \
   30          mingw-w64-x86_64-cmake     mingw-w64-x86_64-gettext  mingw-w64-x86_64-python3 \
   31          mingw-w64-x86_64-libexpat  mingw-w64-x86_64-libiconv mingw-w64-x86_64-zlib    \
   32          mingw-w64-x86_64-gtest ; do (echo y | pacman -S $i) ; done
   33     - cd %APPVEYOR_BUILD_FOLDER%
   34     - if "%BUILD%"=="CYGWIN64" set "PATH=c:\cygwin64\usr\local\bin;c:\cygwin64\bin;c:\cygwin64\usr\bin;c:\cygwin64\usr\sbin;"
   35     - if "%BUILD%"=="CYGWIN64" C:\cygwin64\bin\bash -c "wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg ; chmod +x apt-cyg; mv apt-cyg /usr/local/bin"
   36     - if "%BUILD%"=="CYGWIN64" C:\cygwin64\bin\bash -c "apt-cyg install cmake zlib-devel libexpat-devel libxml2-devel libxslt-devel python38 python38-pip python38-libxml2"
   37     - if "%BUILD%"=="CYGWIN64" C:\cygwin64\bin\bash -c "/usr/bin/python3.8.exe -m pip install --upgrade pip"
   38 
   39 build_script:
   40     - cmd: set   CMD=mkdir -p build
   41     - cmd: set   CMD=%CMD%; cd build    
   42     - cmd: set   CMD=%CMD%; cmake .. -G 'Unix Makefiles' -DCMAKE_CXX_STANDARD=98 -DCMAKE_CXX_FLAGS=-Wno-deprecated
   43     - cmd: set   CMD=%CMD%; cmake --build . --config Release
   44     - cmd: rem echo %CMD%
   45     - cd %APPVEYOR_BUILD_FOLDER%
   46     - cmd: if "%BUILD%"=="MINGW64" C:\msys64\usr\bin\bash -c "%CMD%"
   47     - cmd: set   CMD=which python3 python
   48     - cmd: set   CMD=%CMD%; python --version
   49     - cmd: set   CMD=%CMD%; build/bin/exiv2 --verbose --version; pwd ; ls -l
   50     - cmd: set   CMD=%CMD%; cd build ; cmake --build . --config Release --target python_tests
   51     - cmd: echo %CMD%
   52     - cd %APPVEYOR_BUILD_FOLDER%
   53     - cmd: if "%BUILD%"=="MINGW64" C:\msys64\usr\bin\bash -c "%CMD%"
   54     - cmd: set "PATH=c:\cygwin64\usr\local\bin;c:\cygwin64\bin;c:\cygwin64\usr\bin;c:\cygwin64\usr\sbin;"
   55     - cmd: set  CMD=rm -rf build
   56     - cmd: set  CMD=%CMD%; mkdir -p build
   57     - cmd: set  CMD=%CMD%; cd build
   58     - cmd: set  CMD=%CMD%;cmake .. -DCMAKE_CXX_STANDARD=98 -DCMAKE_CXX_FLAGS=-Wno-deprecated
   59     - cmd: set  CMD=%CMD%; make
   60     - cmd: set  CMD=%CMD%; make python_tests
   61     - cmd: echo %CMD%
   62     - cd %APPVEYOR_BUILD_FOLDER%
   63     - cmd: if "%BUILD%"=="CYGWIN64" C:\cygwin64\bin\bash -c "%CMD%"
   64