File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - ' .github/workflows/**'
99jobs :
1010 build-repo :
11- runs-on : ubuntu-22 .04
11+ runs-on : ubuntu-24 .04
1212 env :
1313 LAZYFS_TEST_MOUNT_DIR : " /tmp/lfs.mnt/"
1414 LAZYFS_TEST_ROOT_DIR : " /tmp/lfs.root/"
1515 steps :
1616 - name : Check out repository code
17- uses : actions/checkout@v4
17+ uses : actions/checkout@v6
1818
1919 - name : Set up cache
20- uses : actions/cache@v4
20+ uses : actions/cache@v5
2121 with :
2222 path : ~/build
2323 key : build-lazyfs
Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ file(GLOB SOURCES "src/*.cpp")
3434set (CMAKE_THREAD_PREFER_PTHREAD TRUE )
3535set (THREADS_PREFER_PTHREAD_FLAG TRUE )
3636find_package (Threads REQUIRED )
37-
38- add_executable (lfscheck ${SOURCES} )
39-
40- target_link_libraries (lfscheck spdlog argparse Threads::Threads )
37+ foreach (src ${SOURCES} )
38+ get_filename_component (target ${src} NAME_WE )
39+ add_executable (${target} ${src} )
40+ target_link_libraries (${target} PRIVATE spdlog argparse Threads::Threads )
41+ endforeach ()
You can’t perform that action at this time.
0 commit comments