Files
ortools-clone/.github/workflows/win_cpp.yml
2020-11-30 14:00:30 +01:00

21 lines
677 B
YAML

name: C++ Windows CI
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
cmake:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -v -- /maxcpucount
- name: Test
run: cmake --build build --config Release --target RUN_TESTS -v -- /maxcpucount
- name: Install
run: cmake --build build --config Release --target INSTALL -v -- /maxcpucount