4
0
mirror of https://github.com/QuasarApp/LIEF.git synced 2025-05-10 10:49:33 +00:00

Create windows.yml

This commit is contained in:
Romain 2020-12-05 11:33:30 +01:00 committed by GitHub
parent 03ba40b735
commit fee1271157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

35
.github/workflows/windows.yml vendored Normal file

@ -0,0 +1,35 @@
name: LIEF Windows Tests
on:
push:
branches:
- master
- enhancement/windows-ci
pull_request:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
choco install ninja
python -m pip install --upgrade pip setuptools
python -m pip install wheel mako
- uses: ilammy/msvc-dev-cmd@v1
with:
toolset: "14.16"
- name: Build and Test
run: |
python ./setup.py --ninja --sdk bdist_wheel
shell: cmd