polish github cmake windows workflows
This commit is contained in:
3
.github/workflows/cmake_windows_python.yml
vendored
3
.github/workflows/cmake_windows_python.yml
vendored
@@ -13,7 +13,6 @@ jobs:
|
||||
python-version: '3.10'
|
||||
- name: Install python3
|
||||
run: python3 -m pip install --user mypy-protobuf absl-py setuptools wheel numpy pandas
|
||||
- uses: seanmiddleditch/gha-setup-ninja@master
|
||||
- name: Install SWIG 4.0.2
|
||||
run: |
|
||||
(New-Object System.Net.WebClient).DownloadFile("http://prdownloads.sourceforge.net/swig/swigwin-4.0.2.zip","swigwin-4.0.2.zip");
|
||||
@@ -26,7 +25,7 @@ jobs:
|
||||
- name: Check cmake
|
||||
run: cmake --version
|
||||
- name: Configure
|
||||
run: cmake -S. -Bbuild -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
|
||||
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON=ON -DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
|
||||
- name: Build
|
||||
run: cmake --build build --config Release --target ALL_BUILD -v -- /maxcpucount
|
||||
- name: Test
|
||||
|
||||
Reference in New Issue
Block a user