mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
Testing - Fix macOS setup to install Mono separately (#697)
- 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
This commit is contained in:
2
.github/actions/configure-occt/action.yml
vendored
2
.github/actions/configure-occt/action.yml
vendored
@@ -126,7 +126,7 @@ runs:
|
|||||||
-D BUILD_GTEST=ON \
|
-D BUILD_GTEST=ON \
|
||||||
-D BUILD_CPP_STANDARD=C++17 \
|
-D BUILD_CPP_STANDARD=C++17 \
|
||||||
-D INSTALL_GTEST=ON \
|
-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 }} ..
|
${{ inputs.additional-cmake-flags }} ..
|
||||||
echo "Configuration completed successfully for macOS"
|
echo "Configuration completed successfully for macOS"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
9
.github/actions/vcpkg-setup/action.yml
vendored
9
.github/actions/vcpkg-setup/action.yml
vendored
@@ -56,7 +56,14 @@ runs:
|
|||||||
if: runner.os == 'macOS'
|
if: runner.os == 'macOS'
|
||||||
run: |
|
run: |
|
||||||
brew update || true
|
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
|
brew install --cask xquartz || true
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ jobs:
|
|||||||
artifact-name: install-macos-clang-no-pch
|
artifact-name: install-macos-clang-no-pch
|
||||||
build-use-pch: 'false'
|
build-use-pch: 'false'
|
||||||
build-opt-profile: 'Default'
|
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'
|
cmake-build-type: 'Debug'
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user