46 строки
830 B
YAML
46 строки
830 B
YAML
name: Build and Run Unit/Functional tests on Windows
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
- dev
|
|
- dev/*
|
|
- release/*
|
|
- buildme/*
|
|
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- main
|
|
- dev
|
|
|
|
schedule:
|
|
- cron: 0 2 * * 1-5
|
|
|
|
jobs:
|
|
test:
|
|
name: Test on Windows ${{ matrix.arch }}-${{ matrix.build }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
arch: [Win32, x64]
|
|
build: [Release, Debug]
|
|
os: [windows-2019]
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v1
|
|
continue-on-error: true
|
|
|
|
- name: setup-msbuild
|
|
uses: microsoft/setup-msbuild@v1.1
|
|
with:
|
|
vs-version: '[16,)'
|
|
|
|
- name: Test ${{ matrix.arch }} ${{ matrix.build }}
|
|
shell: cmd
|
|
run: build-tests.cmd ${{ matrix.arch }} ${{ matrix.build }}
|