Skip to content

Commit

Permalink
Fix Oracle Linux minizip build + actually run zip unit tests (#1744)
Browse files Browse the repository at this point in the history
* Add unit label to zip writer test

Signed-off-by: Sylvain Leclerc <[email protected]>

* Enable oracle linux build only

Signed-off-by: Sylvain Leclerc <[email protected]>

* Fix test property

Signed-off-by: Sylvain Leclerc <[email protected]>

* Enable oracle linux CI

Signed-off-by: Sylvain Leclerc <[email protected]>

* Retry oracle CI

Signed-off-by: Sylvain Leclerc <[email protected]>

* Install zlib on oracle linux build image

Signed-off-by: Sylvain Leclerc <[email protected]>

* Revert "Enable oracle linux build only"

This reverts commit 02abf46.

* Revert oracle CI activation

Signed-off-by: Sylvain Leclerc <[email protected]>

* Add other missing test labels

Signed-off-by: Sylvain Leclerc <[email protected]>

* Fix test name

Signed-off-by: Sylvain Leclerc <[email protected]>

---------

Signed-off-by: Sylvain Leclerc <[email protected]>
  • Loading branch information
sylvlecl authored Nov 7, 2023
1 parent f57c31b commit f6c8f7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/oracle8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install libraries
run: |
dnf install -y epel-release git cmake wget rpm-build redhat-lsb-core
dnf install -y unzip libuuid-devel boost-test boost-devel gcc-toolset-9-toolchain
dnf install -y unzip libuuid-devel boost-test boost-devel gcc-toolset-9-toolchain zlib-devel
- name: Checkout
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/tests/src/libs/antares/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ target_link_libraries(test-utils
yuni-static-core
)
add_test(NAME test-utils COMMAND test-utils)

set_property(TEST test-utils PROPERTY LABELS unit)
1 change: 1 addition & 0 deletions src/tests/src/libs/antares/concurrency/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ target_link_libraries(test-concurrency
)

add_test(NAME concurrency COMMAND test-concurrency)
set_property(TEST concurrency PROPERTY LABELS unit)
2 changes: 2 additions & 0 deletions src/tests/src/libs/antares/writer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ target_link_libraries(test-writer
)

add_test(NAME writer COMMAND test-writer)

set_tests_properties(writer PROPERTIES LABELS unit)

0 comments on commit f6c8f7f

Please sign in to comment.