"Fossies" - the Fresh Open Source Software Archive

Member "cutter-1.10.3/.appveyor.yml" (8 May 2020, 3649 Bytes) of package /linux/privat/cutter-1.10.3.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. See also the latest Fossies "Diffs" side-by-side code changes report for ".appveyor.yml": 1.10.2_vs_1.10.3.

    1 version: '1.10.3-git-{build}'
    2 image: 'Visual Studio 2019'
    3 clone_depth: 1
    4 
    5 # Build configuration
    6 configuration:
    7   - Release
    8 
    9 # Environment
   10 environment:
   11   NINJA_URL: https://github.com/ninja-build/ninja/releases/download/v1.9.0/ninja-win.zip
   12   VSVARSALLPATH: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat'
   13   QTPATH: 'cutter-deps\qt'
   14   USE_APPVEYOR_QT: 'false'
   15   matrix:
   16     # Build: qmake vs2017 x86 shared
   17     #- ARCH: x86
   18     #  PYTHON: 'C:\Python36'
   19     #  QMAKE: 1
   20     #  DEPLOY: true
   21     #  QTPATH: 'C:\Qt\5.12\msvc2017'
   22     #  USE_APPVEYOR_QT: true
   23     # Build: qmake vs2017 x64 shared
   24     - ARCH: x64
   25       PYTHON: 'C:\Python36-x64'
   26       QMAKE: 1
   27       DEPLOY: true
   28     # Build: meson ninja x64 static
   29     - ARCH: x64
   30       PYTHON: 'C:\Python36-x64'
   31       MESON: 1
   32       BACKEND: ninja
   33       DEPLOY: false
   34 
   35 install:
   36   - cmd: if defined QMAKE ( git clone --depth 1 --recurse-submodules https://github.com/radareorg/r2ghidra-dec.git %APPVEYOR_BUILD_FOLDER%/r2ghidra-dec )
   37   - ps: $env:path = ($env:path -split ";").Where({!($_ -like "*Microsoft SQL Server*")}) -join ";"
   38   - cmd: C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER && scripts/fetch_deps.sh"
   39   - cmd: set "CUTTER_DEPS_DIR=%APPVEYOR_BUILD_FOLDER%\cutter-deps"
   40   - cmd: set "PATH=%CD%;%PYTHON%;%PATH%"
   41   - cmd: call "%VSVARSALLPATH%" %ARCH%
   42   - cmd: if "%USE_APPVEYOR_QT%" == "false" ( set "QTPATH=%APPVEYOR_BUILD_FOLDER%\%QTPATH%" )
   43   - cmd: set "PATH=%QTPATH%\bin;%PATH%"
   44   - cmd: echo %PATH%
   45   - cmd: python -m pip install meson
   46   - cmd: powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget %NINJA_URL% -OutFile ninja.zip; Expand-Archive .\ninja.zip -DestinationPath ."
   47   # Artifacts
   48   - cmd: set "ARTIFACT_NAME=Cutter-v1.10.3-%ARCH%.Windows"
   49   - cmd: if defined MESON ( set "ARTIFACT_PATH=dist_%ARCH%" ) else ( set "ARTIFACT_PATH=build_%ARCH%\cutter" )
   50 
   51 before_build:
   52   - cmd: git submodule update --init
   53   - scripts\prepare_breakpad.bat
   54 
   55 # Build config
   56 build_script:
   57   - cmd: if defined QMAKE ( call prepare_r2.bat && call build.bat CUTTER_APPVEYOR_R2DEC=true CUTTER_R2GHIDRA_STATIC=true R2GHIDRA_SOURCE="%APPVEYOR_BUILD_FOLDER%/r2ghidra-dec" CUTTER_ENABLE_CRASH_REPORTS=true CUTTER_ENABLE_PYTHON=true CUTTER_ENABLE_PYTHON_BINDINGS=true CUTTER_DEPS_DIR="%CUTTER_DEPS_DIR%" )
   58   - cmd: if defined MESON ( python meson.py --release --dist=%ARTIFACT_PATH% --backend=%BACKEND% --python )
   59 
   60 after_build:
   61   - cmd: if defined QMAKE ( set "PATH=%CD%\r2_dist_%ARCH%\bin;%PATH%" && powershell scripts\bundle_r2dec.ps1 "%CD%\%ARTIFACT_PATH%" )
   62   - cmd: if defined QMAKE ( C:\msys64\usr\bin\bash -lc "export PATH=\"/c/msys64/usr/bin:$PATH\" && cd \"$APPVEYOR_BUILD_FOLDER\" && scripts/appveyor_r2ghidra.sh" )
   63   #- cmd: powershell scripts\bundle_openssl.ps1 %ARCH% "%CD%\%ARTIFACT_PATH%"
   64   - cmd: powershell scripts\bundle_python.ps1 %ARCH% "%CD%\%ARTIFACT_PATH%"
   65   - cmd: xcopy "%CUTTER_DEPS_DIR%\pyside\lib\site-packages" "%ARTIFACT_PATH%\python36\site-packages" /e /i /h
   66   - cmd: copy "%CUTTER_DEPS_DIR%\pyside\bin\shiboken2.abi3.dll" "%ARTIFACT_PATH%\"
   67   - cmd: copy "%CUTTER_DEPS_DIR%\pyside\bin\pyside2.abi3.dll" "%ARTIFACT_PATH%\"
   68 
   69 # Tests
   70 test: off
   71 
   72 # Artifacts
   73 artifacts:
   74   - path: "%ARTIFACT_PATH%"
   75     name: "%ARTIFACT_NAME%"
   76 
   77 deploy:
   78   description: 'Cutter binaries'
   79   provider: GitHub
   80   auth_token:
   81     secure: 2SmsqS2RaX2N5c9UwUcfBwNmMX64FfPAZFShLyxIkZXiC8vLaYCHToWxBYEuWRSk
   82   artifact: "%ARTIFACT_NAME%"
   83   draft: true
   84   prerelease: true
   85   on:
   86     appveyor_repo_tag: true
   87     DEPLOY: true
   88 
   89 for:
   90   -
   91     branches:
   92       only:
   93         - master
   94   -
   95     skip_non_tags: true
   96