Skip to content

Commit

Permalink
update workflow. update test cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
elkanatovey committed May 5, 2024
1 parent f07d99f commit c6c21f2
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fast_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache dependencies
id: cache-all-deps
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-dependencies
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fast_test_debug
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache dependencies
id: cache-all-deps
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-dependencies
with:
Expand Down
2 changes: 1 addition & 1 deletion test/general_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ target_link_libraries(distribicom_general_tests multiplication_utils test_utils)

# remove the test driver source file
set (TestsToRun ${Tests})
remove (TestsToRun general_tests.cpp)
list(REMOVE_ITEM TestsToRun general_tests.cpp)

# Add all the ADD_TEST for each test
foreach (test ${TestsToRun})
Expand Down
2 changes: 1 addition & 1 deletion test/marshal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ target_link_libraries(distribicom_marshal_tests multiplication_utils test_utils)

# remove the test driver source file
set(TestsToRun ${Tests})
remove(TestsToRun marshal_tests.cpp)
list(REMOVE_ITEM TestsToRun marshal_tests.cpp)

# Add all the ADD_TEST for each test
foreach (test ${TestsToRun})
Expand Down
2 changes: 1 addition & 1 deletion test/math_utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ target_link_libraries(distribicom_math_utils_tests multiplication_utils distribi

# remove the test driver source file
set(TestsToRun ${Tests})
remove(TestsToRun math_utils_tests.cpp)
list(REMOVE_ITEM TestsToRun math_utils_tests.cpp)

# Add all the ADD_TEST for each test
foreach (test ${TestsToRun})
Expand Down
2 changes: 1 addition & 1 deletion test/services/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ target_link_libraries(distribicom_services_tests services multiplication_utils d

# remove the test driver source file
set(TestsToRun ${Tests})
remove(TestsToRun distribicom_services_tests.cpp)
list(REMOVE_ITEM TestsToRun distribicom_services_tests.cpp)

# Add all the ADD_TEST for each test
foreach (test ${TestsToRun})
Expand Down

0 comments on commit c6c21f2

Please sign in to comment.