mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 03:42:34 +01:00
- fix appveyor
This commit is contained in:
parent
7fd9a37e20
commit
c32d08c0b4
@ -14,7 +14,7 @@ cd project_vs2019_windows
|
||||
|
||||
set config=Debug:Release:Release_dev
|
||||
for %%c in (%config::= %) do (
|
||||
msbuild .\REDRIVER2.sln /p:Configuration="%%c" /p:Platform=Win32 /m ^
|
||||
msbuild .\PreDRIVER2.sln /p:Configuration="%%c" /p:Platform=Win32 /m ^
|
||||
/logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" ^
|
||||
/nologo /ConsoleLoggerParameters:NoSummary;Verbosity=quiet
|
||||
)
|
||||
|
@ -15,12 +15,12 @@ do
|
||||
make config=$config -j$(nproc)
|
||||
done
|
||||
|
||||
find ${APPVEYOR_BUILD_FOLDER}/src_rebuild/bin -name 'REDRIVER2*' -exec cp -t ${APPVEYOR_BUILD_FOLDER}/.flatpak/bin {} +
|
||||
find ${APPVEYOR_BUILD_FOLDER}/src_rebuild/bin -name 'PreDRIVER2*' -exec cp -t ${APPVEYOR_BUILD_FOLDER}/.flatpak/bin {} +
|
||||
|
||||
# Copy missing libraries in the runtime
|
||||
for lib in libjpeg libopenal libsndio libbsd
|
||||
do
|
||||
cp -Lf $(ldd "${APPVEYOR_BUILD_FOLDER}/src_rebuild/bin/Release/REDRIVER2" | awk '/ => / { print $3 }' | grep ${lib}) "${APPVEYOR_BUILD_FOLDER}/.flatpak/lib"
|
||||
cp -Lf $(ldd "${APPVEYOR_BUILD_FOLDER}/src_rebuild/bin/Release/PreDRIVER2" | awk '/ => / { print $3 }' | grep ${lib}) "${APPVEYOR_BUILD_FOLDER}/.flatpak/lib"
|
||||
done
|
||||
|
||||
cp -r "${APPVEYOR_BUILD_FOLDER}/data" "${APPVEYOR_BUILD_FOLDER}/.flatpak/"
|
||||
|
Loading…
Reference in New Issue
Block a user