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

34 lines
1.0 KiB
YAML

name: Make Windows Python
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: actions/setup-python@v2
- uses: seanmiddleditch/gha-setup-ninja@master
with:
python-version: '3.9'
- name: Install python3
run: python3 -m pip install --user mypy-protobuf absl-py setuptools wheel numpy pandas
- name: Check make
run: tools\make --version
- name: Check system
run: tools\make detect_port
- name: Check Python
run: tools\make detect_python
- name: Build third party
run: tools\make third_party BUILD_PYTHON=ON BUILD_JAVA=OFF BUILD_DOTNET=OFF GENERATOR=Ninja
- name: Build C++ and Python
run: tools\make all JOBS=4
- name: Build Python
run: tools\make python -j4
- name: Test Python
run: tools\make test_python -j4
- name: Create wheel package
run: tools\make package_python