-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
51 lines (33 loc) · 1.64 KB
/
appveyor.yml
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
44
45
46
47
48
49
50
51
version: 0.7.0.{build}
image: Visual Studio 2022
environment:
CC: cl.exe
CXX: cl.exe
install:
- cmd: >-
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
git clone --depth 1 -b v0.11.x https://github.com/libjxl/libjxl.git --recursive --shallow-submodules
cd libjxl
mkdir build
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DJPEGXL_ENABLE_TOOLS=OFF -DJPEGXL_ENABLE_DOXYGEN=OFF -DJPEGXL_ENABLE_MANPAGES=OFF -DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_ENABLE_EXAMPLES=OFF -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_SKCMS=ON -DJPEGXL_WARNINGS_AS_ERRORS=OFF -DJPEGXL_ENABLE_JPEGLI=OFF -DJPEGXL_ENABLE_JPEGLI_LIBJPEG=OFF -DCMAKE_C_FLAGS="-DJXL_STATIC_DEFINE -DJXL_THREADS_STATIC_DEFINE -DJXL_CMS_STATIC_DEFINE" -DCMAKE_CXX_FLAGS="-DJXL_STATIC_DEFINE -DJXL_THREADS_STATIC_DEFINE -DJXL_CMS_STATIC_DEFINE" ..
ninja jxl jxl_cms jxl_threads hwy brotlicommon brotlidec brotlienc
cd ..\..
build_script:
- cmd: >-
C:\Qt\5.15.2\msvc2019_64\bin\qmake.exe qt-jpegxl-image-plugin_appveyor.pro
nmake
cd qtbuild_6.2.4
C:\Qt\6.2.4\msvc2019_64\bin\qmake.exe qt-jpegxl-image-plugin_alternative_appveyor.pro
nmake
cd ..\qtbuild_6.5.3
C:\Qt\6.5.3\msvc2019_64\bin\qmake.exe qt-jpegxl-image-plugin_alternative_appveyor.pro
nmake
cd ..\qtbuild_6.8.1
C:\Qt\6.8.1\msvc2022_64\bin\qmake.exe qt-jpegxl-image-plugin_alternative_appveyor.pro
nmake
artifacts:
- path: plugins\imageformats\*.dll
- path: qtbuild_6.2.4\*.dll
- path: qtbuild_6.5.3\*.dll
- path: qtbuild_6.8.1\*.dll