diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca45228b48..84d2f587ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,19 +16,19 @@ jobs: - name: Build and test (Windows release) os: windows-2019 mode: Release - - name: Build and test (Windows debug) + - name: Build (Windows debug) os: windows-2019 mode: Debug - name: Build and test (Linux release) os: ubuntu-20.04 mode: Release - - name: Build and test (Linux debug) + - name: Build (Linux debug) os: ubuntu-20.04 mode: Debug - name: Build and test (macOS release) os: macos-12 mode: Release - - name: Build and test (macOS debug) + - name: Build (macOS debug) os: macos-12 mode: Debug env: diff --git a/scripts/genericci b/scripts/genericci index 22aaf9ed28..c1c9c65bfd 100755 --- a/scripts/genericci +++ b/scripts/genericci @@ -59,13 +59,15 @@ if [ -d $appDir/build ]; then exit $exitCode fi - if [ "`uname -s`" = "Linux" ]; then - $appDir/build/bin/runtests - else - $appDir/build/OpenCOR.app/Contents/MacOS/runtests - fi + if [ "$version" = "release" ]; then + if [ "`uname -s`" = "Linux" ]; then + $appDir/build/bin/runtests + else + $appDir/build/OpenCOR.app/Contents/MacOS/runtests + fi - exitCode=$? + exitCode=$? + fi if [ $exitCode -eq 0 ]; then echo -e "\033[42;37;1mAll done!\033[0m" diff --git a/scripts/genericci.bat b/scripts/genericci.bat index 498c437aca..9e98c92059 100644 --- a/scripts/genericci.bat +++ b/scripts/genericci.bat @@ -71,7 +71,9 @@ IF EXIST !AppDir!build ( EXIT /B !ExitCode! ) - !AppDir!build\bin\runtests.exe + IF "%Version" == "release" ( + !AppDir!build\bin\runtests.exe + ) EXIT /B !ERRORLEVEL! ) ELSE (