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:
7
.github/workflows/make_windows_python.yml
vendored
7
.github/workflows/make_windows_python.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user