File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 48
48
args : --release --out dist --find-interpreter
49
49
sccache : ' true'
50
50
manylinux : auto
51
- before-script-linux : yum install -y perl-IPC-Cmd
51
+ before-script-linux : |
52
+ # If we're running on rhel centos, install needed packages.
53
+ if command -v yum &> /dev/null; then
54
+ yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
55
+
56
+ # If we're running on i686 we need to symlink libatomic
57
+ # in order to build openssl with -latomic flag.
58
+ if [[ ! -d "/usr/lib64" ]]; then
59
+ ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
60
+ fi
61
+ else
62
+ # If we're running on debian-based system.
63
+ apt update -y && apt-get install -y libssl-dev openssl pkg-config
64
+ fi
52
65
- name : Upload wheels
53
66
uses : actions/upload-artifact@v4
54
67
with :
You can’t perform that action at this time.
0 commit comments