Skip to content

Commit

Permalink
switch from CentOS to RedHat Entreprise Linux (#1307)
Browse files Browse the repository at this point in the history
* ci: workflow: switch from CentOS to RedHat Entreprise Linux

* cmake: prepare package for rhel
  • Loading branch information
clementperon authored Feb 6, 2024
1 parent ba336be commit 7d806e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ jobs:
- image: ubuntu1804
python: python3.8
config-zstd: OFF
- image: centos7
python: python3.8
# TODO: TestLoggerMultiThread sometimes fail in CI so we exclude it for now, need to look into it
test-flags: --pcap-test-args="-s -x TestLoggerMultiThread"
- image: rhel93
python: python3
config-zstd: OFF
- image: fedora37
python: python3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
config-zstd: OFF
- image: ubuntu1804
config-zstd: OFF
- image: centos7
- image: rhel93
config-zstd: OFF
- image: fedora37
config-zstd: OFF
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ if(PCAPPP_PACKAGE)
set(_PCAPPP_PACKAGE_README_CUSTOM_PATH "${_PCAPPP_PACKAGE_README_PATH}/README.release.linux")
if("${DISTRO_ID}" STREQUAL "ubuntu")
# set(CPACK_GENERATOR ${CPACK_GENERATOR};DEB)
elseif("${DISTRO_ID}" STREQUAL "centos")
elseif("${DISTRO_ID}" STREQUAL "centos" OR "${DISTRO_ID}" STREQUAL "rhel")
# set(CPACK_GENERATOR ${CPACK_GENERATOR};RPM)
elseif("${DISTRO_ID}" STREQUAL "freebsd")
set(_PCAPPP_PACKAGE_README_CUSTOM_PATH "${_PCAPPP_PACKAGE_README_PATH}/README.release.freebsd")
Expand Down

0 comments on commit 7d806e8

Please sign in to comment.