- Replaces single brew install command with multiple individual brew install commands
- Each package installation is wrapped with `|| true` to prevent failures from stopping the workflow
-D BUILD_GTEST=ON \
-D BUILD_CPP_STANDARD=C++17 \
-D INSTALL_GTEST=ON \
- -D CMAKE_CXX_FLAGS="-Werror -Wall -Wextra" \
+ -D CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -Wno-error=cast-function-type-mismatch" \
${{ inputs.additional-cmake-flags }} ..
echo "Configuration completed successfully for macOS"
shell: bash
if: runner.os == 'macOS'
run: |
brew update || true
- brew install cmake ninja nasm autoconf automake mono openexr || true
+ # Install each package separately to continue even if some fail
+ brew install cmake || true
+ brew install ninja || true
+ brew install nasm || true
+ brew install autoconf || true
+ brew install automake || true
+ brew install mono || true
+ brew install openexr || true
brew install --cask xquartz || true
shell: bash
artifact-name: install-macos-clang-no-pch
build-use-pch: 'false'
build-opt-profile: 'Default'
- additional-cmake-flags: '-D CMAKE_CXX_FLAGS="-Werror -Wall -Wextra" -D CMAKE_C_FLAGS="-Werror -Wall -Wextra"'
+ additional-cmake-flags: '-D CMAKE_CXX_FLAGS="-Werror -Wall -Wextra -Wno-error=cast-function-type-mismatch" -D CMAKE_C_FLAGS="-Werror -Wall -Wextra -Wno-error=cast-function-type-mismatch"'
cmake-build-type: 'Debug'
github-token: ${{ secrets.GITHUB_TOKEN }}