test using clang with ninja

This commit is contained in:
Alfi Maulana 2023-01-12 14:03:53 +07:00
parent 07b809b1eb
commit 965ce1d4a8
No known key found for this signature in database
GPG Key ID: 2242A64C2A8DF5A4

View File

@ -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 }}