From 67afcd4edd9f69e826fbbe9b4812db7f3cb45bc5 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 9 Feb 2021 10:05:33 -0500 Subject: [PATCH] Adding legacy Win32 / Visual Studio 2017 CI tests to GitHub Actions. (#1439) --- .github/workflows/vs15win32-ci.yml | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/vs15win32-ci.yml diff --git a/.github/workflows/vs15win32-ci.yml b/.github/workflows/vs15win32-ci.yml new file mode 100644 index 00000000..71155c12 --- /dev/null +++ b/.github/workflows/vs15win32-ci.yml @@ -0,0 +1,39 @@ +name: VS15Win32Legacy-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-vs15win32 + 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 under Win32 (legacy)' + uses: lukka/run-cmake@v2 + with: + cmakeListsOrSettingsJson: CMakeListsTxtAdvanced + cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' + buildDirectory: "${{ github.workspace }}/../../_temp/windows" + cmakeBuildType: Release + buildWithCMake: true + cmakeGenerator: VS15Win32 + 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" +