use the default CMAKE_PLATFORM generator on make windows; switch to Ninja make make windows and cmake windows python github actions

This commit is contained in:
Laurent Perron
2022-02-24 22:35:18 +01:00
parent 5d90abeab7
commit 809deba3dc
6 changed files with 14 additions and 9 deletions

View File

@@ -10,8 +10,9 @@ jobs:
- 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'
python-version: '3.9'
- name: Install python3
run: python3 -m pip install --user mypy-protobuf absl-py setuptools wheel numpy pandas
- name: Check make
@@ -21,9 +22,9 @@ jobs:
- 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
run: tools\make third_party BUILD_PYTHON=ON BUILD_JAVA=OFF BUILD_DOTNET=OFF GENERATOR=Ninja
- name: Build C++ and Python
run: tools\make compile_libraries -j4
run: tools\make all JOBS=4
- name: Build Python
run: tools\make python -j4
- name: Test Python