Skip to content

Commit

Permalink
Update github actions && Raise ctest timeout
Browse files Browse the repository at this point in the history
Change github action OS to Ubun to 22.04
Raised cmake test timeout to 50 mins for test `ack_ecc_tests`
  • Loading branch information
smlu committed Dec 28, 2023
1 parent 5b4d0d7 commit 3d492a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
name: 'Ubuntu 20.04 Build'
runs-on: ubuntu-20.04
name: 'Ubuntu 22.04 Build'
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
name: 'Ubuntu 20.04 Build'
runs-on: ubuntu-20.04
name: 'Ubuntu 22.04 Build'
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ if ( ACK_BUILD_TESTS )
add_test( ack_gen_tests ${CMAKE_BINARY_DIR}/tests/ack_gen_tests )
add_test( ack_rsa_tests ${CMAKE_BINARY_DIR}/tests/ack_rsa_tests )
add_test( ack_ecc_tests ${CMAKE_BINARY_DIR}/tests/ack_ecc_tests )
set_tests_properties( ack_ecc_tests PROPERTIES TIMEOUT 3000 ) # 50 mins
endif( ACK_BUILD_TESTS )

message( "No intrinsics................${ACK_NO_INTRINSICS}" )
Expand Down

0 comments on commit 3d492a2

Please sign in to comment.