Fix XCode build (having same file name between .cpp and .mm is a bad use case) and test in CI

This commit is contained in:
Julien Wadel 2021-10-01 10:36:44 +02:00
parent 335454ad48
commit daa56cc77c
3 changed files with 2 additions and 2 deletions

View file

@ -312,7 +312,7 @@ if (APPLE)
src/app/single-application/SingleApplication.cpp
src/components/core/event-count-notifier/EventCountNotifierMacOs.m
src/components/other/desktop-tools/DesktopToolsMacOs.cpp
src/components/other/desktop-tools/DesktopToolsMacOs.mm
src/components/other/desktop-tools/DesktopToolsMacOsNative.mm
src/components/other/desktop-tools/screen-saver/ScreenSaverMacOs.m
src/components/other/desktop-tools/state-process/StateProcessMacOs.mm
)

View file

@ -23,7 +23,7 @@ do
xcrun_result=$?
if [ "${xcrun_result}" != "0" ]
then
if [ ${trycount} -lt 4 ]
if [ "${trycount}" -lt 4 ]
then
tryCount=$((tryCount+1))
sleep 60