Integration request to master #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow builds OCCT on macOS with Clang x64 dynamic. | |
# | |
# Notes: | |
# freetype is disabled | |
# samples are not built | |
name: Build OCCT on macOS with Clang x64 dynamic | |
on: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-macos-clang: | |
name: Build on macOS with Clang | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: | | |
brew update | |
brew install tcl-tk tbb gl2ps xerces-c \ | |
libxmu libxi libxft libxpm \ | |
glew | |
- name: Configure OCCT | |
run: | | |
mkdir -p build | |
cd build | |
cmake -G "Unix Makefiles" \ | |
-D CMAKE_C_COMPILER=clang \ | |
-D CMAKE_CXX_COMPILER=clang++ \ | |
-D USE_FREETYPE=OFF \ | |
-D CMAKE_BUILD_TYPE=Release .. | |
- name: Build OCCT | |
run: | | |
cd build | |
make -j$(sysctl -n hw.logicalcpu) |