File tree Expand file tree Collapse file tree 6 files changed +14
-12
lines changed Expand file tree Collapse file tree 6 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ jobs:
2424 nix flake show --json \
2525 | jq -r '.packages."x86_64-linux" | keys[]' \
2626 | sed 's/^/.#/' \
27- | xargs nix build
27+ | xargs nix build --print-build-logs
2828
2929 build-test :
3030 runs-on : 16-core-ubuntu
3131 strategy :
3232 matrix :
33- llvm_version : [16]
33+ llvm_version : [16, 17 ]
3434 steps :
35353636 - uses : cachix/install-nix-action@v27
Original file line number Diff line number Diff line change @@ -224,8 +224,8 @@ find_package(LLVM ${LLVM_REQUESTED_VERSION} REQUIRED CONFIG)
224224message (STATUS "Found LLVM ${LLVM_PACKAGE_VERSION} " )
225225message (STATUS "Using LLVMConfig.cmake in: ${LLVM_DIR} " )
226226
227- if ((${LLVM_VERSION_MAJOR} VERSION_LESS 16) OR (${LLVM_VERSION_MAJOR} VERSION_GREATER 16 ))
228- message (SEND_ERROR "Object Introspection currently requires LLVM version 16 !" )
227+ if ((${LLVM_VERSION_MAJOR} VERSION_LESS 16) OR (${LLVM_VERSION_MAJOR} VERSION_GREATER 17 ))
228+ message (SEND_ERROR "Object Introspection currently requires an LLVM version between 16 and 17 !" )
229229endif ()
230230
231231find_package (Clang REQUIRED CONFIG)
@@ -336,7 +336,7 @@ target_include_directories(oicore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
336336
337337llvm_map_components_to_libnames(llvm_libs core native mcjit x86disassembler)
338338target_link_libraries (oicore
339- codegen
339+ oicodegen
340340
341341 ${Boost_LIBRARIES}
342342 Boost::headers
Original file line number Diff line number Diff line change 116116 default = self . packages . ${ system } . "oid-llvm${ toString defaultLlvmVersion } " ;
117117
118118 oid-llvm16 = mkOidPackage 16 ;
119+ oid-llvm17 = mkOidPackage 17 ;
119120 } ;
120121 devShells = rec {
121122 default = self . devShells . ${ system } . "oid-llvm${ toString defaultLlvmVersion } " ;
122123
123124 oid-llvm16 = mkOidDevShell 16 ;
125+ oid-llvm17 = mkOidDevShell 17 ;
124126 } ;
125127
126128 apps . default = {
Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ target_link_libraries(container_info
3939 toml
4040)
4141
42- add_library (codegen
42+ add_library (oicodegen
4343 CodeGen.cpp
4444 FuncGen.cpp
4545 OICodeGen.cpp
4646)
47- target_link_libraries (codegen
47+ target_link_libraries (oicodegen
4848 container_info
4949 resources
5050 symbol_service
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ target_compile_definitions(test_type_graph PRIVATE
6060 TARGET_EXE_PATH="${CMAKE_CURRENT_BINARY_DIR} /integration/integration_test_target"
6161)
6262target_link_libraries (test_type_graph
63- codegen
63+ oicodegen
6464 container_info
6565 type_graph
6666
@@ -79,7 +79,7 @@ target_compile_definitions(test_clang_type_parser PRIVATE
7979 BUILD_DIR="${CMAKE_BINARY_DIR} "
8080)
8181target_link_libraries (test_clang_type_parser
82- codegen
82+ oicodegen
8383 container_info
8484 type_graph
8585
@@ -132,7 +132,7 @@ if (WITH_FLAKY_TESTS)
132132 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
133133 )
134134 set_tests_properties (integration_py PROPERTIES
135- TIMEOUT 90
135+ TIMEOUT 120
136136 ENVIRONMENT "OID=$<TARGET_FILE:oid>"
137137 )
138138endif ()
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ if (${THRIFT_FOUND})
9595endif ()
9696
9797if (DEFINED ENV{CI})
98- gtest_discover_tests(integration_test_runner EXTRA_ARGS "--verbose" "--preserve-on-failure" )
98+ gtest_discover_tests(integration_test_runner EXTRA_ARGS "--verbose" "--preserve-on-failure" "--output-on-failure" PROPERTIES TIMEOUT 90 )
9999else ()
100- gtest_discover_tests(integration_test_runner)
100+ gtest_discover_tests(integration_test_runner PROPERTIES TIMEOUT 90 )
101101endif ()
You can’t perform that action at this time.
0 commit comments