Create minimal widows CMake build job. (#2356)

* Create minimal widows CMake build job.
This commit is contained in:
karliss 2020-08-01 17:07:19 +03:00 committed by GitHub
parent 186ad03fdb
commit e3aeb770ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-16.04, macos-latest]
os: [ubuntu-18.04, ubuntu-16.04, macos-latest, windows-latest]
python-version: [3.7.x]
# Prevent one job from pausing the rest
fail-fast: false
@ -97,3 +97,17 @@ jobs:
-DBREAKPAD_FRAMEWORK_DIR="$BREAKPAD_FRAMEWORK_DIR" \
../src && \
make -j4;
- name: cmake windows
if: contains(matrix.os, 'windows-latest')
shell: bash
run: |
pip install ninja
scripts/fetch_deps.sh
export PATH=$PWD/cutter-deps/qt/bin:$PATH
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCUTTER_USE_BUNDLED_RADARE2=ON \
../src
cmake --build .