File: .appveyor.yml

package info (click to toggle)
libzen 0.4.41-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,496 kB
  • sloc: cpp: 10,502; ansic: 3,590; sh: 274; makefile: 97
file content (43 lines) | stat: -rw-r--r-- 1,104 bytes parent folder | download | duplicates (3)
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
43
image: Visual Studio 2019
configuration:
  - Release

environment:
  matrix:
    - generator: Unix Makefiles
    - generator: Visual Studio 16 2019

platform:
  - Win32
  - x64

install:
  - set "PATH=C:\msys64\usr\bin;%PATH%"
  - ps: |
      if ($env:generator -eq "Unix Makefiles") {
        $env:PATH, $env:PKG_CONFIG_PATH = if ($env:Platform -eq "x64") {
          "C:\msys64\mingw64\bin;$env:PATH", "C:/msys64/mingw64/lib/pkgconfig"
        } else {
          "C:\msys64\mingw32\bin;$env:PATH", "C:/msys64/mingw32/lib/pkgconfig"
        }
      }
  - if "%generator%"=="Unix Makefiles" pacman -Sy --ask=20 --noconfirm --noprogressbar --needed make

before_build:
  - ps: |
      $env:cmake_e = if ($env:generator -match "Visual") {
        if ($env:Platform -eq "x64") { "-A x64" } else { "-A Win32" }
      } else {
        "-DCMAKE_BUILD_TYPE=$env:configuration"
      }
  - cmake -S Project/CMake -B build -G "%generator%" %cmake_e%

for:
  - matrix:
      only:
        - generator: Unix Makefiles
    build_script:
      - make -C build -j
build:
  project: build/ZenLib.sln
  verbosity: quiet