CI: Remove unit tests from macOS build scripts

This commit is contained in:
PatTheMav 2023-02-22 22:37:02 +01:00 committed by Patrick Heyer
parent 8061652051
commit 63e0e49798
3 changed files with 0 additions and 10 deletions

View file

@ -189,10 +189,6 @@ jobs:
- name: 'Build OBS'
run: CI/macos/02_build_obs.sh --codesign --architecture "${{ matrix.arch }}"
- name: 'Run tests'
if: ${{ success() && matrix.arch == 'x86_64' }}
run: cmake --build build -t test
- name: 'Create build artifact'
if: ${{ success() && fromJSON(needs.config.outputs.create_artifacts) }}
run: |

View file

@ -2,6 +2,5 @@ brew "cmake"
brew "ccache"
brew "ninja"
brew "freetype"
brew "cmocka"
brew "swig"
brew "coreutils"

View file

@ -65,10 +65,6 @@ _configure_obs() {
GENERATOR="Ninja"
fi
if [ "${CI}" -a "${ARCH}" = "x86_64" ]; then
UNITTEST_OPTIONS="-DENABLE_UNIT_TESTS=ON"
fi
if [ "${SPARKLE_APPCAST_URL}" -a "${SPARKLE_PUBLIC_KEY}" ]; then
SPARKLE_OPTIONS="-DSPARKLE_APPCAST_URL=\"${SPARKLE_APPCAST_URL}\" -DSPARKLE_PUBLIC_KEY=\"${SPARKLE_PUBLIC_KEY}\""
fi
@ -89,7 +85,6 @@ _configure_obs() {
${YOUTUBE_OPTIONS} \
${TWITCH_OPTIONS} \
${RESTREAM_OPTIONS} \
${UNITTEST_OPTIONS} \
${SPARKLE_OPTIONS} \
${CI:+-DBUILD_FOR_DISTRIBUTION=${BUILD_FOR_DISTRIBUTION} -DOBS_BUILD_NUMBER=${GITHUB_RUN_ID}} \
${QUIET:+-Wno-deprecated -Wno-dev --log-level=ERROR}