Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
c3e9173f
Unverified
Commit
c3e9173f
authored
Jun 21, 2022
by
Henry Schreiner
Committed by
GitHub
Jun 21, 2022
Browse files
ci: use almalinux instead of centos, add 9 (#4020)
Signed-off-by:
Henry Schreiner
<
henryschreineriii@gmail.com
>
parent
2ad974c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
.github/workflows/ci.yml
.github/workflows/ci.yml
+12
-6
No files found.
.github/workflows/ci.yml
View file @
c3e9173f
...
...
@@ -584,19 +584,25 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
centos
:
-
centos7
# GCC 4.8
-
stream8
container
:
-
"
centos:7"
# GCC 4.8
-
"
almalinux:8"
-
"
almalinux:9"
name
:
"
🐍
3
•
CentOS
${{
matrix.c
e
nt
os
}}
•
x64"
container
:
"
quay.io/centos/centos:
${{
matrix.c
e
nt
os
}}"
name
:
"
🐍
3
•
${{
matrix.c
o
nt
ainer
}}
•
x64"
container
:
"
${{
matrix.c
o
nt
ainer
}}"
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Add Python
3
-
name
:
Add Python 3 (RHEL 7)
if
:
matrix.container == 'centos:7'
run
:
yum update -y && yum install -y python3-devel gcc-c++ make git
-
name
:
Add Python 3 (RHEL 8+)
if
:
matrix.container != 'centos:7'
run
:
dnf update -y && dnf install -y python3-devel gcc-c++ make git
-
name
:
Update pip
run
:
python3 -m pip install --upgrade pip
...
...
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