31 lines
977 B
YAML
31 lines
977 B
YAML
name: VS16-NoExcept-CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: windows-vs16
|
|
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 VS16'
|
|
uses: lukka/run-cmake@v3
|
|
with:
|
|
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
|
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
|
|
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
|
|
cmakeBuildType: Release
|
|
buildWithCMake: true
|
|
cmakeGenerator: VS16Win64
|
|
cmakeAppendedArgs: -DSIMDJSON_COMPETITION=OFF -DSIMDJSON_DEVELOPER_MODE=ON -DSIMDJSON_EXCEPTIONS=OFF
|
|
buildWithCMakeArgs: --config Release
|
|
|
|
- name: 'Run CTest'
|
|
run: ctest -C Release -LE explicitonly --output-on-failure
|
|
working-directory: "${{ github.workspace }}/../../_temp/windows"
|
|
|