mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 06:04:03 +00:00

This is a build checker using the github action. When a pull request occurs this action does a basic build, example build, build with test.
32 lines
972 B
Meson
32 lines
972 B
Meson
|
|
override_default = ['werror=false']
|
|
|
|
gtest_dep = dependency('gtest')
|
|
|
|
canvas_test_sources = [
|
|
'testsuite.cpp',
|
|
'test_canvas.cpp',
|
|
]
|
|
|
|
canvas_testsuite = executable('canvasTestSuite',
|
|
canvas_test_sources,
|
|
include_directories : headers,
|
|
override_options : override_default,
|
|
dependencies : [gtest_dep, thorvg_lib_dep],
|
|
)
|
|
|
|
test('Canvas Testsuite', canvas_testsuite)
|
|
|
|
paint_test_sources = [
|
|
'testsuite.cpp',
|
|
'test_paint.cpp',
|
|
]
|
|
|
|
paint_testsuite = executable('paintTestSuite',
|
|
paint_test_sources,
|
|
include_directories : headers,
|
|
override_options : override_default,
|
|
dependencies : [gtest_dep, thorvg_lib_dep],
|
|
)
|
|
|
|
test('Paint Testsuite', paint_testsuite)
|