summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2021-10-12 13:49:17 -0700
committerMichael Grunder <michael.grunder@gmail.com>2021-10-12 14:14:03 -0700
commitb73c2d410f4c7c2510cf63e98660bab2ca82fbc9 (patch)
treee109311325a69076407db51f1a7fdeea46963b2a
parente9f64738450374e7f324c99988308d7d1f16451d (diff)
Add Centos8
I'm sure this can be done with a container matrix but figuring that out is left for another day.
-rw-r--r--.github/workflows/build.yml25
1 files changed, 24 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fbf1596..25d4fa3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,7 +33,7 @@ jobs:
repository: ${{ env.GITHUB_REPOSITORY }}
ref: ${{ env.GITHUB_HEAD_REF }}
- - name: Install redis-server
+ - name: Install dependencies
run: |
yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y --enablerepo=remi install redis
@@ -45,6 +45,29 @@ jobs:
- name: Run tests
run: $GITHUB_WORKSPACE/test.sh
+ centos8:
+ runs-on: ubuntu-latest
+ container: centos:8
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v2
+ with:
+ repository: ${{ env.GITHUB_REPOSITORY }}
+ ref: ${{ env.GITHUB_HEAD_REF }}
+
+ - name: Install dependencies
+ run: |
+ dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
+ dnf -y module install redis:remi-6.0
+ dnf -y group install "Development Tools"
+ dnf -y install openssl-devel
+
+ - name: Build hiredis
+ run: USE_SSL=1 make
+
+ - name: Run tests
+ run: $GITHUB_WORKSPACE/test.sh
+
macos:
runs-on: macos-latest
steps: