Adding Visual studio 2017 CI tests to GitHub actions. (#1438)
* Adding Visual studio 2017 CI tests to GitHub actions. * Fixing the name.
This commit is contained in:
parent
67afcd4edd
commit
0f72ff3a57
|
@ -0,0 +1,39 @@
|
||||||
|
name: VS15-CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
if: >-
|
||||||
|
! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
|
||||||
|
! contains(toJSON(github.event.commits.*.message), '[skip github]')
|
||||||
|
name: windows-vs15
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: dependencies/.cache
|
||||||
|
key: ${{ hashFiles('dependencies/CMakeLists.txt') }}
|
||||||
|
- name: 'Run CMake with VS15'
|
||||||
|
uses: lukka/run-cmake@v2
|
||||||
|
with:
|
||||||
|
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
||||||
|
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
|
||||||
|
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
|
||||||
|
cmakeBuildType: Release
|
||||||
|
buildWithCMake: true
|
||||||
|
cmakeGenerator: VS15Win64
|
||||||
|
cmakeAppendedArgs: -DSIMDJSON_COMPETITION=OFF
|
||||||
|
buildWithCMakeArgs: --config Release
|
||||||
|
|
||||||
|
- name: 'Run CTest'
|
||||||
|
run: ctest -C Release -LE explicitonly --output-on-failure
|
||||||
|
working-directory: "${{ github.workspace }}/../../_temp/windows"
|
||||||
|
|
Loading…
Reference in New Issue