Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
b73c2d41
Commit
b73c2d41
authored
Oct 12, 2021
by
michael-grunder
Committed by
Michael Grunder
Oct 12, 2021
Browse files
Add Centos8
I'm sure this can be done with a container matrix but figuring that out is left for another day.
parent
e9f64738
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build.yml
View file @
b73c2d41
...
@@ -33,7 +33,7 @@ jobs:
...
@@ -33,7 +33,7 @@ jobs:
repository
:
${{ env.GITHUB_REPOSITORY }}
repository
:
${{ env.GITHUB_REPOSITORY }}
ref
:
${{ env.GITHUB_HEAD_REF }}
ref
:
${{ env.GITHUB_HEAD_REF }}
-
name
:
Install
redis-server
-
name
:
Install
dependencies
run
:
|
run
:
|
yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y --enablerepo=remi install redis
yum -y --enablerepo=remi install redis
...
@@ -45,6 +45,29 @@ jobs:
...
@@ -45,6 +45,29 @@ jobs:
-
name
:
Run tests
-
name
:
Run tests
run
:
$GITHUB_WORKSPACE/test.sh
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
:
macos
:
runs-on
:
macos-latest
runs-on
:
macos-latest
steps
:
steps
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment