mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-02 03:50:55 +00:00
ignore testing hello_world if building test_c and test_cpp
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -55,7 +55,7 @@ jobs:
|
|||||||
c-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
c-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
||||||
cxx-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
cxx-flags: ${{ matrix.compiler == 'msvc' && '/w /WX-' || '-Wno-unused-variable' }}
|
||||||
args: -D CHECK_SURPASS_WARNING=ON
|
args: -D CHECK_SURPASS_WARNING=ON
|
||||||
test-args: -C test
|
test-args: -C test -E hello_world
|
||||||
|
|
||||||
specified-compiler-usage:
|
specified-compiler-usage:
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
c-compiler: clang
|
c-compiler: clang
|
||||||
cxx-compiler: clang++
|
cxx-compiler: clang++
|
||||||
args: -D CHECK_USING_CLANG=ON
|
args: -D CHECK_USING_CLANG=ON
|
||||||
test-args: -C test
|
test-args: -C test -E hello_world
|
||||||
|
|
||||||
specified-generator-usage:
|
specified-generator-usage:
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user