1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-13 03:16:51 +00:00
synapse/.ci/before_build_wheel.sh
reivilibre b7946c29be
Fix wheel building configuration in CI by installing libatomic1. (#18212)
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>
2025-03-04 17:37:28 +00:00

11 lines
293 B
Bash

#!/bin/sh
set -eu
# On 32-bit Linux platforms, we need libatomic1 to use rustup
if command -v apt-get &> /dev/null; then
apt-get update
apt-get install libatomic1
fi
# Install a Rust toolchain
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.82.0 -y --profile minimal