appveyor.sh, appveyor.yml: More variable fixes.

- appveyor.sh: %OPTFEAT% -> ${OPTFEAT}
- appveyor.yml: ${configuration} -> ${CONFIGURATION}
This commit is contained in:
David Korth 2022-08-30 18:32:59 -04:00
parent 20c6227238
commit cf578dcd65
2 changed files with 7 additions and 7 deletions

View File

@ -13,4 +13,4 @@ OPTFEAT="-DENABLE_EXTRA_SECURITY=${OPTEN} -DENABLE_JPEG=${OPTEN} -DENABLE_XML=${
mkdir build mkdir build
cd build cd build
cmake .. -G Ninja -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=OFF %OPTFEAT% cmake .. -G Ninja -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=OFF ${OPTFEAT}

View File

@ -40,23 +40,23 @@ before_build:
# then build again with optional features turned on. # then build again with optional features turned on.
build_script: build_script:
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build - cmd: cd %APPVEYOR_BUILD_FOLDER%\build
- cmd: cmake --build . --config %configuration% - cmd: cmake --build . --config %CONFIGURATION%
- cmd: cd .. - cmd: cd ..
- cmd: appveyor.cmd ON - cmd: appveyor.cmd ON
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build - cmd: cd %APPVEYOR_BUILD_FOLDER%\build
- cmd: cmake --build . --config %configuration% - cmd: cmake --build . --config %CONFIGURATION%
- sh: cd ${APPVEYOR_BUILD_FOLDER}/build - sh: cd ${APPVEYOR_BUILD_FOLDER}/build
- sh: cmake --build . --config ${configuration} - sh: cmake --build . --config ${CONFIGURATION}
- sh: cd .. - sh: cd ..
- sh: ./appveyor.sh ON - sh: ./appveyor.sh ON
- sh: cd ${APPVEYOR_BUILD_FOLDER}/build - sh: cd ${APPVEYOR_BUILD_FOLDER}/build
- sh: cmake --build . --config ${configuration} - sh: cmake --build . --config ${CONFIGURATION}
test_script: test_script:
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build - cmd: cd %APPVEYOR_BUILD_FOLDER%\build
- cmd: ctest -V -C %configuration% - cmd: ctest -V -C %CONFIGURATION%
- sh: cd ${APPVEYOR_BUILD_FOLDER}/build - sh: cd ${APPVEYOR_BUILD_FOLDER}/build
- sh: ctest -V -C ${configuration} - sh: ctest -V -C ${CONFIGURATION}
after_test: after_test:
- cmd: cd %APPVEYOR_BUILD_FOLDER%\build - cmd: cd %APPVEYOR_BUILD_FOLDER%\build