Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5e56d4

Browse files
committed
Update cmake.yml
add test report
1 parent0c1b716 commitd5e56d4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

‎.github/workflows/cmake.yml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,24 @@ env:
1212

1313
jobs:
1414
build:
15+
strategy:
16+
os:
17+
-ubuntu-18.04
18+
-windows-latest
19+
-macos-latest
1520
# The CMake configure and build commands are platform agnostic and should work equally
1621
# well on Windows or Mac. You can convert this to a matrix build if you need
1722
# cross-platform coverage.
1823
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
19-
runs-on:ubuntu-latest
24+
runs-on:${{matrix.os}}
2025

2126
steps:
2227
-uses:actions/checkout@v2
2328

2429
-name:Configure CMake
2530
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
2631
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
27-
run:cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DJPP_TEST_REPORT_JUNIT=ON
32+
run:cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DJPP_TEST_REPORT_JUNIT=ON -C ${{github.workspace}}/travis/cmake.conf --warn-uninitialized
2833

2934
-name:Build
3035
# Build your program with the given configuration
@@ -36,3 +41,8 @@ jobs:
3641
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
3742
run:ctest -C ${{env.BUILD_TYPE}} --output-on-failure
3843

44+
-name:Publish Test Report
45+
uses:mikepenz/action-junit-report@v2
46+
with:
47+
report_paths:'build/**/*.report.xml'
48+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp