Files
ortools-clone/.github/workflows/make_windows_python.yml
2022-03-03 14:09:09 +01:00

33 lines
975 B
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
with:
python-version: '3.10'
- 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
- name: Build C++ and Python
run: tools\make all JOBS=4
- name: Build Python
run: tools\make python JOBS=4
- name: Test Python
run: tools\make test_python
- name: Create wheel package
run: tools\make package_python