Skip to content

Commit c8ed6c6

Browse files
committed
go
1 parent 96f98c1 commit c8ed6c6

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

.github/workflows/maturin_builds.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,40 +37,29 @@ jobs:
3737
target: ${{ matrix.target }}
3838
sccache: 'true'
3939
args: --release --out dist --find-interpreter
40-
manylinux: "2_24"
40+
manylinux: "auto"
4141
# Following is a workaround taken from:
4242
# https://github.com/Intreecom/scyllapy/blob/develop/.github/workflows/release.yaml
4343
before-script-linux: |
4444
set -ex
45-
46-
# If we're running on rhel centos, install needed packages.
4745
if command -v yum &> /dev/null; then
4846
yum update -y && yum install -y perl-core openssl openssl-devel pkgconfig libatomic clang-devel xz-devel
49-
50-
# If we're running on i686 we need to symlink libatomic
51-
# in order to build openssl with -latomic flag.
5247
if [[ ! -d "/usr/lib64" ]]; then
5348
ln -s /usr/lib/libatomic.so.1 /usr/lib/libatomic.so
5449
fi
55-
56-
OPENSSL_LIB_DIR=/usr/lib
50+
export OPENSSL_LIB_DIR=/usr/lib
5751
else
58-
# If we're running on debian-based system.
5952
apt update -y && apt-get install -y libssl-dev openssl pkg-config libclang-dev liblzma-dev
60-
61-
OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
53+
export OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
6254
fi
63-
6455
export OPENSSL_DIR="/usr/lib/ssl"
6556
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
6657
export OPENSSL_NO_VENDOR=1
67-
68-
ls $OPENSSL_LIB_DIR
69-
ls $OPENSSL_INCLUDE_DIR
70-
71-
58+
echo "OpenSSL Dir: $OPENSSL_DIR"
59+
ls $OPENSSL_DIR
7260
echo "OpenSSL Lib Dir: $OPENSSL_LIB_DIR"
61+
ls $OPENSSL_LIB_DIR
7362
echo "OpenSSL Include Dir: $OPENSSL_INCLUDE_DIR"
74-
63+
ls $OPENSSL_INCLUDE_DIR
7564
pkg-config --list-all
7665
pkg-config --libs --cflags openssl

0 commit comments

Comments
 (0)