mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-08 18:21:20 +00:00
test using clang with ninja
This commit is contained in:
parent
07b809b1eb
commit
965ce1d4a8
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -68,14 +68,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
source-dir: test
|
source-dir: test
|
||||||
targets: test_c test_cpp
|
targets: test_c test_cpp
|
||||||
|
generator: Ninja
|
||||||
c-compiler: clang
|
c-compiler: clang
|
||||||
cxx-compiler: clang++
|
cxx-compiler: clang++
|
||||||
args: -D CHECK_USING_CLANG=ON
|
args: -D CHECK_USING_CLANG=ON
|
||||||
|
|
||||||
- name: Run build result
|
- name: Run build result
|
||||||
run: |
|
run: build/test_c && build/test_cpp
|
||||||
${{ matrix.os == 'windows-latest' && 'build\Debug\test_c.exe' || 'build/test_c' }}
|
|
||||||
${{ matrix.os == 'windows-latest' && 'build\Debug\test_cpp.exe' || 'build/test_cpp' }}
|
|
||||||
|
|
||||||
use-action-with-specified-generator:
|
use-action-with-specified-generator:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
Loading…
Reference in New Issue
Block a user