File: appveyor.yml

package info (click to toggle)
pcsx2 1.6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 28,424 kB
  • sloc: cpp: 299,797; ansic: 23,973; lisp: 2,689; asm: 908; perl: 852; sh: 789; xml: 116; makefile: 60
file content (42 lines) | stat: -rw-r--r-- 1,230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Static build version - changing the version dynamically means you can't
# just click from github to see how things are progressing until the build has
# finished, which could be a bit annoying.
version: 1.{build}-{branch}

environment:
  matrix:
  - platform: Win32
    target: AppVeyor
    visualstudio_string: vs2019
    APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
  - platform: Win32
    target: AppVeyor
    visualstudio_string: vs2017
    APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017

matrix:
  fast_finish: true

init:
# Use CRLF line endings on Windows so users can just use Notepad.
  - git config --global core.autocrlf true

install:
  - git submodule update --init --recursive

build_script:
  - msbuild buildbot.xml /m /t:%target% /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"

after_build:
  - ps: $env:gitrev = git describe --tags
  - ps: $env:my_version = "$env:gitrev-$env:appveyor_build_number"
  - type NUL > bin\portable.ini
  - set folder_name=pcsx2-%my_version%-%visualstudio_string%-%platform%-%target%
  - rename bin %folder_name%
  - 7z a -mx9 %folder_name%.7z %folder_name%

test: off

artifacts:
  - path: $(folder_name).7z
    name: $(visualstudio_string)-$(target)