This is an automated email from the ASF dual-hosted git repository.
twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/unstable by this push:
new f436ebc1 feat(ci): integrate Rocky Linux environment into the CI
workflow (#2451)
f436ebc1 is described below
commit f436ebc1eade0bb857831c7a033dae5caf5fc412
Author: Wayne <[email protected]>
AuthorDate: Wed Jul 31 19:39:43 2024 +0900
feat(ci): integrate Rocky Linux environment into the CI workflow (#2451)
Signed-off-by: Ruihua Wen <[email protected]>
---
.github/workflows/kvrocks.yaml | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 78491de3..cb083501 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -426,6 +426,12 @@ jobs:
- name: ArchLinux
image: archlinux:base
compiler: gcc
+ - name: Rocky Linux 8
+ image: rockylinux:8
+ compiler: gcc
+ - name: Rocky Linux 9
+ image: rockylinux:9
+ compiler: gcc
runs-on: ubuntu-22.04
container:
@@ -448,6 +454,30 @@ jobs:
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100
echo "NPROC=$(nproc)" >> $GITHUB_ENV
+ - name: Setup Rocky Linux 8
+ if: ${{ startsWith(matrix.image, 'rockylinux:8') }}
+ run: |
+ dnf install -y epel-release
+ dnf config-manager --set-enabled powertools
+ dnf install -y git gcc-toolset-12 autoconf automake libtool
libstdc++-static python3 python3-pip openssl-devel which cmake
+ source /opt/rh/gcc-toolset-12/enable
+ update-alternatives --install /usr/bin/g++ g++
/opt/rh/gcc-toolset-12/root/usr/bin/g++ 100
+ update-alternatives --install /usr/bin/cc cc
/opt/rh/gcc-toolset-12/root/usr/bin/gcc 100
+ update-alternatives --install /usr/bin/c++ c++
/opt/rh/gcc-toolset-12/root/usr/bin/g++ 100
+ echo "NPROC=$(nproc)" >> $GITHUB_ENV
+
+ - name: Setup Rocky Linux 9
+ if: ${{ startsWith(matrix.image, 'rockylinux:9') }}
+ run: |
+ dnf install -y epel-release
+ dnf config-manager --set-enabled crb
+ dnf install -y git gcc-toolset-12 autoconf automake libtool
libstdc++-static python3 python3-pip openssl-devel which cmake
+ source /opt/rh/gcc-toolset-12/enable
+ update-alternatives --install /usr/bin/g++ g++
/opt/rh/gcc-toolset-12/root/usr/bin/g++ 100
+ update-alternatives --install /usr/bin/cc cc
/opt/rh/gcc-toolset-12/root/usr/bin/gcc 100
+ update-alternatives --install /usr/bin/c++ c++
/opt/rh/gcc-toolset-12/root/usr/bin/g++ 100
+ echo "NPROC=$(nproc)" >> $GITHUB_ENV
+
- name: Cache redis
id: cache-redis
uses: actions/cache@v3