Coding - Precision.hxx file optimization #29
Workflow file for this run
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 will build OCCT on Ubuntu with Clang compiler | |
# using the provided Docker image with Clang tools. | |
# | |
# Notes: | |
# freetype is disabled | |
# samples are not built | |
name: Build OCCT on Linux with Clang x64 dynamic | |
on: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-linux-clang: | |
name: Build on Ubuntu with Clang | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y tcl-dev tk-dev cmake clang make libbtbb-dev libx11-dev libglu1-mesa-dev | |
- 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$(nproc) |