appveyor.yml: Copy amiibo-data.bin to ~/.config/rom-properties/.

FIXME: This is a bad hack and probably won't work for the PPA builds.
Need to add an override for AmiiboData to specify where to find the
amiibo-data.bin file for unit tests.
This commit is contained in:
David Korth 2023-09-30 16:06:20 -04:00
parent 00acb7e50f
commit c7ce579b0d

View File

@ -60,6 +60,8 @@ build_script:
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: mkdir -p ~/.config/rom-properties
- sh: cp "${APPVEYOR_BUILD_FOLDER}/build/bin/amiibo-data.bin" ~/.config/rom-properties/
- sh: cd ${APPVEYOR_BUILD_FOLDER}/build - sh: cd ${APPVEYOR_BUILD_FOLDER}/build
- sh: LD_LIBRARY_PATH=${APPVEYOR_BUILD_FOLDER}/build/lib ctest -V -C ${CONFIGURATION} - sh: LD_LIBRARY_PATH=${APPVEYOR_BUILD_FOLDER}/build/lib ctest -V -C ${CONFIGURATION}