mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-07 13:18:19 +08:00
Testing - Add a new compilation on Clang without PCH #540
Updated a main workflow to validate the header and more precise warnings. No PCH helps to validate missed headers. Fixed PCH issue for mac os Extend the parameters for occt build action.
This commit is contained in:
@@ -122,6 +122,25 @@ jobs:
|
||||
compiler: clang
|
||||
artifact-name: install-linux-clang-x64
|
||||
|
||||
prepare-and-build-macos-clang-no-pch:
|
||||
name: Prepare and Build on macOS with Clang (No PCH)
|
||||
runs-on: macos-15
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4.1.7
|
||||
|
||||
- name: Build OCCT
|
||||
uses: ./.github/actions/build-occt
|
||||
with:
|
||||
platform: macos
|
||||
compiler: clang
|
||||
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"'
|
||||
cmake-build-type: 'Debug'
|
||||
|
||||
prepare-and-build-linux-gcc-x64:
|
||||
name: Prepare and Build on Ubuntu with GCC (x64)
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
Reference in New Issue
Block a user