mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-26 02:30:31 +01:00
Add CTest
This commit is contained in:
parent
a07cfc0f7a
commit
8c2ad025b1
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -24,6 +24,10 @@ jobs:
|
||||
cmake .
|
||||
make VERBOSE=1 -j2
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
ctest --output-on-failure
|
||||
|
||||
- name: Package
|
||||
run: |
|
||||
make DESTDIR=$PWD/_install install
|
||||
|
@ -41,7 +41,9 @@ if(NOT CMAKE_BUILD_TYPE)
|
||||
endif()
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||
enable_testing()
|
||||
add_subdirectory(source/Irrlicht)
|
||||
add_subdirectory(test)
|
||||
|
||||
option(BUILD_EXAMPLES "Build example applications" FALSE)
|
||||
if(BUILD_EXAMPLES)
|
||||
|
1
test/CMakeLists.txt
Normal file
1
test/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
||||
link_libraries(IrrlichtMt::IrrlichtMt)
|
Loading…
Reference in New Issue
Block a user