diff --git a/.github/workflows/cmake_format.yml b/.github/workflows/cmake_format.yml index accb6088f3..d51277e339 100644 --- a/.github/workflows/cmake_format.yml +++ b/.github/workflows/cmake_format.yml @@ -23,7 +23,8 @@ defaults: jobs: check-cmake-format: name: Check CMake files formatting - runs-on: ubuntu-latest + runs-on: self-hosted + container: catthehacker/ubuntu:act-latest steps: - name: Checkout repository diff --git a/CMakeLists.txt b/CMakeLists.txt index dff1326def..82c3b5b26f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,12 +270,12 @@ install( set(CPACK_RPM_PACKAGE_LICENSE "MIT") if(ENABLE_ASAN_PACKAGING) -# install license file in share/doc/amd_smi-asan folder -install( - FILES ${CPACK_RESOURCE_FILE_LICENSE} - DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${CPACK_PACKAGE_NAME}-asan - RENAME LICENSE.txt - COMPONENT asan) + # install license file in share/doc/amd_smi-asan folder + install( + FILES ${CPACK_RESOURCE_FILE_LICENSE} + DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/${CPACK_PACKAGE_NAME}-asan + RENAME LICENSE.txt + COMPONENT asan) endif() # docs are installed into different share directory from tests and examples install(