• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1version: 1.6.x-{build}
2
3branches:
4  except:
5    - /libpng[0-1][0-7]/
6    - /v[0-1][.][0-7][.][0-9]+/
7
8image:
9  - Visual Studio 2022
10
11shallow_clone: true
12
13environment:
14  matrix:
15    - TOOLCHAIN: vstudio
16      AUTOMATION: cmake
17      ARCH: x86
18    - TOOLCHAIN: vstudio
19      AUTOMATION: cmake
20      ARCH: x64
21    - TOOLCHAIN: vstudio
22      AUTOMATION: cmake
23      ARCH: arm64
24    - TOOLCHAIN: llvm
25      AUTOMATION: cmake
26      ARCH: x64
27    - TOOLCHAIN: msys2
28      AUTOMATION: cmake
29      ARCH: i686
30    - TOOLCHAIN: msys2
31      AUTOMATION: cmake
32      ARCH: x86_64
33    - TOOLCHAIN: msys2
34      AUTOMATION: configure
35      ARCH: i686
36    - TOOLCHAIN: msys2
37      AUTOMATION: configure
38      ARCH: x86_64
39    - TOOLCHAIN: msys2
40      AUTOMATION: makefiles
41      ARCH: i686
42    - TOOLCHAIN: msys2
43      AUTOMATION: makefiles
44      ARCH: x86_64
45
46install:
47  - 'if "%TOOLCHAIN%"=="vstudio" C:\tools\vcpkg\vcpkg.exe install zlib:%ARCH%-windows'
48  - 'if "%TOOLCHAIN%"=="vstudio" C:\tools\vcpkg\vcpkg.exe integrate install'
49  - 'if "%TOOLCHAIN%"=="llvm" C:\tools\vcpkg\vcpkg.exe install zlib:%ARCH%-windows'
50  - 'if "%TOOLCHAIN%"=="llvm" C:\tools\vcpkg\vcpkg.exe integrate install'
51  - 'if "%TOOLCHAIN%"=="msys2" if "%AUTOMATION%"=="cmake" C:\msys64\usr\bin\pacman.exe -S --noconfirm mingw-w64-%ARCH%-cmake mingw-w64-%ARCH%-ninja'
52
53before_build:
54  - 'if "%TOOLCHAIN%"=="vstudio" set CI_CMAKE_GENERATOR=Visual Studio 17 2022'
55  - 'if "%TOOLCHAIN%"=="vstudio" set CI_CMAKE_TOOLCHAIN_FILE=C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake'
56  - 'if "%TOOLCHAIN%"=="vstudio" if "%ARCH%"=="x86" set CI_CMAKE_GENERATOR_PLATFORM=Win32'
57  - 'if "%TOOLCHAIN%"=="vstudio" if "%ARCH%"=="x64" set CI_CMAKE_GENERATOR_PLATFORM=x64'
58  - 'if "%TOOLCHAIN%"=="vstudio" if "%ARCH%"=="arm64" set CI_CMAKE_GENERATOR_PLATFORM=ARM64'
59  - 'if "%TOOLCHAIN%"=="vstudio" if "%ARCH%"=="arm64" set CI_CMAKE_VARS=-DPNG_TESTS=0'
60  - 'if "%TOOLCHAIN%"=="llvm" set CI_CMAKE_GENERATOR=Ninja'
61  - 'if "%TOOLCHAIN%"=="llvm" set CI_CMAKE_TOOLCHAIN_FILE=C:\tools\vcpkg\scripts\buildsystems\vcpkg.cmake'
62  - 'if "%TOOLCHAIN%"=="llvm" set CI_CC=clang'
63  - 'if "%TOOLCHAIN%"=="msys2" set CI_CMAKE_GENERATOR=Ninja'
64  - 'if "%TOOLCHAIN%"=="msys2" set CI_CC=gcc'
65  - 'if "%TOOLCHAIN%"=="msys2" if "%ARCH%"=="i686" set MSYSTEM=MINGW32'
66  - 'if "%TOOLCHAIN%"=="msys2" if "%ARCH%"=="x86_64" set MSYSTEM=MINGW64'
67  - 'set CI_CMAKE_BUILD_FLAGS=-j2'
68  - 'set CI_CTEST_FLAGS=-j2'
69  - 'set CI_MAKE_FLAGS=-j2'
70  - 'set CI_MAKEFILES=scripts/makefile.gcc scripts/makefile.msys scripts/makefile.std'
71
72build_script:
73  - 'if "%TOOLCHAIN%"=="vstudio" C:\msys64\usr\bin\bash.exe -l "%APPVEYOR_BUILD_FOLDER%\ci\ci_verify_cmake.sh"'
74  - 'if "%TOOLCHAIN%"=="llvm" C:\msys64\usr\bin\bash.exe -l "%APPVEYOR_BUILD_FOLDER%\ci\ci_verify_cmake.sh"'
75  - 'if "%TOOLCHAIN%"=="msys2" if "%AUTOMATION%"=="cmake" C:\msys64\usr\bin\bash.exe -l "%APPVEYOR_BUILD_FOLDER%\ci\ci_verify_cmake.sh"'
76  - 'if "%TOOLCHAIN%"=="msys2" if "%AUTOMATION%"=="configure" C:\msys64\usr\bin\bash.exe -l "%APPVEYOR_BUILD_FOLDER%\ci\ci_verify_configure.sh"'
77  - 'if "%TOOLCHAIN%"=="msys2" if "%AUTOMATION%"=="makefiles" C:\msys64\usr\bin\bash.exe -l "%APPVEYOR_BUILD_FOLDER%\ci\ci_verify_makefiles.sh"'
78
79cache:
80  - C:\tools\vcpkg\installed
81  - C:\msys64\var\cache\pacman
82