Skip to content

Commit 676ed59

Browse files
lemireDaniel Lemire
and
Daniel Lemire
authored
Adding more github actions (simdjson#1027)
* Adding more github actions Co-authored-by: Daniel Lemire <lemire@gmai.com>
1 parent 4015f46 commit 676ed59

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

.github/workflows/vs16-ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: VS16-CI
2+
3+
on: push
4+
5+
jobs:
6+
ci:
7+
name: windows-vs16
8+
runs-on: windows-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: 'Run CMake with VS16'
12+
uses: lukka/run-cmake@v2
13+
with:
14+
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
15+
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
16+
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
17+
cmakeBuildType: Release
18+
buildWithCMake: true
19+
cmakeGenerator: VS16Win64
20+
cmakeAppendedArgs: -DSIMDJSON_COMPETITION=OFF
21+
buildWithCMakeArgs: --config Release
22+
23+
- name: 'Run CTest'
24+
run: ctest -C Release -E checkperf --output-on-failure
25+
working-directory: "${{ github.workspace }}/../../_temp/windows"
26+

.github/workflows/vs16-ninja-ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: VS16-Ninja-CI
2+
3+
on: push
4+
5+
jobs:
6+
ci:
7+
name: windows-vs16
8+
runs-on: windows-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: 'Run CMake with VS16'
12+
uses: lukka/run-cmake@v2
13+
with:
14+
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
15+
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
16+
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
17+
cmakeBuildType: Release
18+
buildWithCMake: true
19+
cmakeGenerator: VS16Win64
20+
cmakeAppendedArgs: -G Ninja -DSIMDJSON_COMPETITION=OFF -DSIMDJSON_BUILD_STATIC=ON
21+
buildWithCMakeArgs: --config Release
22+
23+
- name: 'Run CTest'
24+
run: ctest -C Release -E checkperf --output-on-failure
25+
working-directory: "${{ github.workspace }}/../../_temp/windows"
26+

0 commit comments

Comments
 (0)