Files
ortools-clone/.github/workflows/make_windows_cpp.yml

25 lines
683 B
YAML

name: Make Windows C++
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
make:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: ilammy/msvc-dev-cmd@v1
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Check make
run: tools\make --version
- name: Check system
run: tools\make detect_port
- name: Build third party
run: tools\make third_party BUILD_PYTHON=OFF BUILD_JAVA=OFF BUILD_DOTNET=OFF GENERATOR=Ninja
- name: Build C++
run: tools\make all JOBS=4
- name: Test C++
run: tools\make test_cc
- name: Install
run: tools\make install_cc