Skip to content

Commit

Permalink
appveyor: build BMFF + enable cache again
Browse files Browse the repository at this point in the history
  • Loading branch information
piponazo committed May 3, 2021
1 parent 9de5349 commit a3d2c23
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ build_script:
- cmd: if "%platform%"=="x64" (set VC_ARCH=x86_amd64) else (set VC_ARCH=x86)
- cmd: call "%VCVARS%" %VC_ARCH%
- cmd: conan install .. --build missing -o webready=True
- cmd: cmake -GNinja -DBUILD_SHARED_LIBS=%SHARED% -DEXIV2_TEAM_WARNINGS_AS_ERRORS=ON -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DEXIV2_ENABLE_NLS=OFF -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=ON -DEXIV2_ENABLE_WIN_UNICODE=OFF -DCMAKE_INSTALL_PREFIX=install ..
- cmd: cmake -GNinja -DBUILD_SHARED_LIBS=%SHARED% -DEXIV2_TEAM_WARNINGS_AS_ERRORS=ON -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DEXIV2_ENABLE_NLS=OFF -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=ON -DEXIV2_ENABLE_WIN_UNICODE=OFF -DEXIV2_ENABLE_BMFF=ON -DCMAKE_INSTALL_PREFIX=install ..
- cmd: ninja
- cmd: ninja install
- cmd: cd bin
Expand All @@ -64,11 +64,6 @@ build_script:
- cmd: set EXIV2_EXT=.exe
- cmd: c:\Python39-x64\python.exe runner.py -v

# We have disabled the cache system in master because for VS2017 we can find pre-compiled binaries
# for all the 3rd party dependencies in the conan-center bintray repository. The average time for
# each build in Appveyor is around 3 minutes which is not bad. If those times get worse over time
# we could think about re-enabling it.

#cache:
#- deps # Ninja installation
#- c:\Users\appveyor\conanCache # Conan cache
cache:
- deps # Ninja installation
- c:\Users\appveyor\conanCache # Conan cache

0 comments on commit a3d2c23

Please sign in to comment.