Coding - Resolving C26498 warning #20
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 Windows with MSVC x64 in dynamic mode | |
# using the provided Docker image with MSVC tools. | |
# | |
# Notes: | |
# freetype is disabled | |
# Draw module is disabled | |
# samples are not built | |
name: Build OCCT on Windows with MSVC x64 dynamic | |
on: | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-windows-msvc: | |
name: Build on Windows with MSVC | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Set up MSVC | |
uses: ilammy/[email protected] | |
with: | |
arch: x64 | |
- name: Install dependencies | |
run: | | |
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y | |
choco install magicsplat-tcl-tk -y | |
- name: Configure OCCT | |
run: | | |
mkdir build | |
cd build | |
cmake -T host=x64 -D USE_FREETYPE=OFF -D BUILD_MODULE_Draw=OFF -D CMAKE_BUILD_TYPE=Release .. | |
- name: Build OCCT | |
run: | | |
cd build | |
cmake --build . --config Release -- /m |