Files
ortools-clone/.github/workflows/make_windows_cpp.yml
2021-12-02 15:43:05 +01:00

32 lines
795 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
- name: Clean sh.exe
run: |
where sh
rm 'C:\Program Files\Git\usr\bin\sh.exe'
rm 'C:\Program Files\Git\bin\sh.exe'
shell: bash
- name: Check make
run: tools\make --version
- name: Check system
run: tools\make detect_port
- name: Build third party
run: tools\make third_party -j4
- name: Generate protos
run: tools\make all_protos
- name: Build C++
run: tools\make cc -j4
- name: Test C++
run: tools\make test_cc
- name: Install
run: tools\make install_cc