Skip to content

Commit

Permalink
Add Centos8
Browse files Browse the repository at this point in the history
I'm sure this can be done with a container matrix but figuring that out
is left for another day.
  • Loading branch information
michael-grunder committed Oct 12, 2021
1 parent e9f6473 commit b73c2d4
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit b73c2d4

Please sign in to comment.