Skip to content

Commit 997f4ea

Browse files
committed
Changed actions
Signed-off-by: chandr-andr (Kiselev Aleksandr) <chandr@chandr.net>
1 parent e533a37 commit 997f4ea

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
# target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
15-
target:
16-
- x86_64-unknown-linux-gnu
17-
- i686-unknown-linux-gnu
18-
- arm-unknown-linux-gnueabihf
19-
- aarch64
20-
- armv7
21-
- s390x
22-
- ppc64le
14+
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
2315
steps:
2416
- uses: actions/checkout@v3
2517
- uses: actions/setup-python@v4
@@ -34,6 +26,20 @@ jobs:
3426
args: --release --out dist --find-interpreter
3527
sccache: 'true'
3628
manylinux: auto
29+
before-script-linux: |
30+
# If we're running on rhel centos, install needed packages.
31+
if command -v yum &> /dev/null; then
32+
yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic
33+
34+
# If we're running on i686 we need to symlink libatomic
35+
# in order to build openssl with -latomic flag.
36+
if [[ ! -d "/usr/lib64" ]]; then
37+
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
38+
fi
39+
else
40+
# If we're running on debian-based system.
41+
apt update -y && apt-get install -y libssl-dev openssl pkg-config
42+
fi
3743
# - name: Upload wheels
3844
# uses: actions/upload-artifact@v3
3945
# with:

0 commit comments

Comments
 (0)