"Fossies" - the Fresh Open Source Software Archive

Member "ponyc-0.33.2/.appveyor.yml" (3 Feb 2020, 2276 Bytes) of package /linux/misc/ponyc-0.33.2.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": 0.33.1_vs_0.33.2.

    1 version: "{build}"
    2 
    3 image: Visual Studio 2017
    4 
    5 branches:
    6   only:
    7     - master
    8     - release
    9 
   10 environment:
   11   matrix:
   12   - llvm: 7.1.0
   13   - llvm: 8.0.1
   14   - llvm: 9.0.0
   15 
   16 configuration:
   17   - release
   18 
   19 clone_depth: 100
   20 skip_tags: true
   21 skip_commits:
   22   files:
   23     - .bintray.sh
   24     - .ci-dockerfiles/*
   25     - .circleci/config.yml
   26     - .cirrus.yml
   27     - .gitattributes
   28     - .gitignore
   29     - .gitmodules
   30     - .travis.yml
   31     - .travis_commands.bash
   32     - .travis_install.bash
   33     - .travis_script.bash
   34     - '**/Dockerfile'
   35     - LICENSE
   36     - Makefile
   37     - Makefile-ponyc
   38     - release.bash
   39     - '**/*.md'
   40     - '**/*.txt'
   41 
   42 clone_folder: C:\projects\ponyc
   43 
   44 build_script:
   45   - ps: |
   46       $package_commit = git rev-parse --short --verify "HEAD^{commit}"
   47       $package_version = (Get-Content "VERSION")
   48       $package_iteration = "$package_iteration${env:appveyor_build_number}.$package_commit"
   49       Update-AppveyorBuild -Version "ponyc-$package_version-$package_iteration"
   50   - cd C:\projects\ponyc
   51   - python -x waf configure
   52   - python -x waf clean --config %configuration% --llvm %llvm%
   53   - python -x waf build --config %configuration% --llvm %llvm%
   54   - ps: |
   55       $ponydir = "ponyc-${package_version}-win64"
   56       cd C:\projects\ponyc
   57       md "$ponydir"
   58       md "${ponydir}\ponyc"
   59       md "${ponydir}\ponyc\bin"
   60       $builddir = "C:\projects\ponyc\build\${env:configuration}-llvm-${env:llvm}"
   61       Write-Output "Build dir is ${builddir}"
   62       copy $builddir\ponyc.* "${ponydir}\ponyc\bin"
   63       copy $builddir\ponyrt.* "${ponydir}\ponyc\bin"
   64       copy $builddir\*.lib "${ponydir}\ponyc\bin"
   65       copy -recurse packages "${ponydir}\packages"
   66       7z a -tzip "C:\projects\ponyc\${ponydir}.zip" "${ponydir}"
   67 
   68 artifacts:
   69   - path: 'ponyc-*.zip'
   70 
   71 deploy:
   72   # On branch `release`, deploy (and publish) artifacts
   73   # to the ponyc-win projects on Bintray.
   74   - provider: BinTray
   75     username: pony-buildbot-2
   76     api_key:
   77         secure: 4KgdDQLp2kX816XH27d5xdJBPlKGhYXN6ttdHTSt5qe1MVIF+/VResUstg0zuJ6m
   78     subject: pony-language
   79     repo: ponyc-win
   80     package: ponyc
   81     on:
   82         branch: release
   83         llvm: 7.0.1
   84         configuration: release
   85     publish: true
   86 
   87 test_script:
   88   - cd C:\projects\ponyc
   89   - python -x waf test examples --config %configuration% --llvm %llvm%