blob: e0f082ccd16a11ffe68e610d0775e115f5a85253 [file]
matrix:
platform:
- debian10
- ubuntu2004
tasks:
run_tests:
name: Run LLVM unit tests
platform: ${{ platform }}
test_flags:
- '--cxxopt=-std=c++17'
- '--host_cxxopt=-std=c++17'
test_targets:
- '@llvm-project//llvm/unittests:all'
- '@llvm-project//clang/unittests:all'
run_tests_macos:
name: Run LLVM unit tests
platform: macos
test_flags:
- '--cxxopt=-std=c++17'
- '--host_cxxopt=-std=c++17'
- '--test_tmpdir=ci' # Avoid CI permissions error on macOS
test_targets:
- '@llvm-project//llvm/unittests:all'
- '@llvm-project//clang/unittests:all'
run_tests_macos_arm64:
name: Run LLVM unit tests
platform: macos_arm64
test_flags:
- '--cxxopt=-std=c++17'
- '--host_cxxopt=-std=c++17'
- '--test_tmpdir=ci' # Avoid CI permissions error on macOS
test_targets:
- '@llvm-project//llvm/unittests:all'
- '@llvm-project//clang/unittests:all'
run_tests_windows:
name: Run LLVM unit tests
platform: windows
test_flags:
- '--cxxopt=/std:c++17'
- '--host_cxxopt=/std:c++17'
test_targets:
- '@llvm-project//llvm/unittests:ir_tests'