mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
CI: Remove unit tests from macOS build scripts
This commit is contained in:
parent
8061652051
commit
63e0e49798
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -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: |
|
||||
|
|
|
@ -2,6 +2,5 @@ brew "cmake"
|
|||
brew "ccache"
|
||||
brew "ninja"
|
||||
brew "freetype"
|
||||
brew "cmocka"
|
||||
brew "swig"
|
||||
brew "coreutils"
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue