Skip to content

Configuration - Implement GitHub Actions build sripts #1

Configuration - Implement GitHub Actions build sripts

Configuration - Implement GitHub Actions build sripts #1

name: Build OCCT on Windows with MSVC x64 dynamic
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build-windows-msvc:
name: Build on Windows with MSVC
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: |
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y
choco install tcl -y
- name: Configure OCCT
run: |
mkdir build
cd build
cmake -G "Visual Studio 16 2019" \
-A x64 \
-T host=x64 \
-D CMAKE_BUILD_TYPE=Release ..
- name: Build OCCT
run: |
cd build
cmake --build . --config Release -- /m