mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-08 10:11:21 +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:
|
||||
source-dir: test
|
||||
targets: test_c test_cpp
|
||||
generator: Ninja
|
||||
c-compiler: clang
|
||||
cxx-compiler: clang++
|
||||
args: -D CHECK_USING_CLANG=ON
|
||||
|
||||
- name: Run build result
|
||||
run: |
|
||||
${{ matrix.os == 'windows-latest' && 'build\Debug\test_c.exe' || 'build/test_c' }}
|
||||
${{ matrix.os == 'windows-latest' && 'build\Debug\test_cpp.exe' || 'build/test_cpp' }}
|
||||
run: build/test_c && build/test_cpp
|
||||
|
||||
use-action-with-specified-generator:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
Loading…
Reference in New Issue
Block a user