Fix a crash on win7 x86 system. #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Library | |
on: | |
push: | |
paths: | |
- '.github/**' | |
- 'src/**' | |
- '!src/BlackBoneDrv/**' | |
jobs: | |
library: | |
name: Build and test library | |
strategy: | |
matrix: | |
platfom: [win32, x64] | |
configuration: [Release, Release(DLL)] | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Add VSTest to PATH | |
uses: darenm/Setup-VSTest@v1 | |
- name: Build | |
shell: cmd | |
run: | | |
MSBuild.exe BlackBone.sln /p:CI=true /p:Platform="${{ matrix.platfom }}" /p:Configuration="${{ matrix.configuration }}" | |
- name: Test | |
shell: cmd | |
run: | | |
vstest.console.exe "build/${{ matrix.platfom }}/${{ matrix.configuration }}/BlackboneTest.dll" |