Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
timedout
4f0e99c96c
fix: I can copy and paste correctly 2026-02-15 20:06:19 +00:00
timedout
49cc99d0e9
fix: Formatting 2026-02-15 20:03:34 +00:00
timedout
6c5ca29c77
fix: AAaaaa 2026-02-15 20:02:20 +00:00
timedout
3ab6d0fa49
fix: Always build with clang-19 2026-02-15 19:47:01 +00:00
timedout
943047b4bb
fix: Output the var correctly 2026-02-15 19:36:05 +00:00
timedout
de32fb88b3
fix: Decide which clang pkg to install based on llvm-workaround 2026-02-15 19:19:57 +00:00
timedout
8257f3b11a
fix: Conditionally fix llvm-project#153385 2026-02-15 19:12:08 +00:00

View file

@ -31,10 +31,27 @@ jobs:
echo "distribution=$DISTRIBUTION" >> $GITHUB_OUTPUT echo "distribution=$DISTRIBUTION" >> $GITHUB_OUTPUT
echo "Debian distribution: $DISTRIBUTION ($VERSION)" echo "Debian distribution: $DISTRIBUTION ($VERSION)"
- name: Work around llvm-project#153385 - name: Work around llvm-project#153385
id: llvm-workaround
run: | run: |
mkdir -p /etc/crypto-policies/back-ends/ if [ -f /usr/share/apt/default-sequoia.config ]; then
cp /usr/share/apt/default-sequoia.config /etc/crypto-policies/back-ends/apt-sequoia.config echo "Applying workaround for llvm-project#153385"
sed -i 's/\(sha1\.second_preimage_resistance = \)2026-02-01/\12026-06-01/' /etc/crypto-policies/back-ends/apt-sequoia.config mkdir -p /etc/crypto-policies/back-ends/
cp /usr/share/apt/default-sequoia.config /etc/crypto-policies/back-ends/apt-sequoia.config
sed -i 's/\(sha1\.second_preimage_resistance = \)2026-02-01/\12026-06-01/' /etc/crypto-policies/back-ends/apt-sequoia.config
else
echo "No workaround needed for llvm-project#153385"
fi
- name: Pick compatible clang version
id: clang-version
run: |
# both latest need to use clang-23, but oldstable and previous can just use clang
if [[ "${{ matrix.container }}" == "ubuntu-latest" || "${{ matrix.container }}" == "debian-latest" ]]; then
echo "Using clang-23 package for ${{ matrix.container }}"
echo "version=clang-23" >> $GITHUB_OUTPUT
else
echo "Using default clang package for ${{ matrix.container }}"
echo "version=clang" >> $GITHUB_OUTPUT
fi
- name: Checkout repository with full history - name: Checkout repository with full history
uses: actions/checkout@v6 uses: actions/checkout@v6
@ -110,7 +127,7 @@ jobs:
run: | run: |
apt-get update -y apt-get update -y
# Build dependencies for rocksdb # Build dependencies for rocksdb
apt-get install -y clang-23 liburing-dev apt-get install -y liburing-dev ${{ steps.clang-version.outputs.version }}
- name: Run cargo-deb - name: Run cargo-deb
id: cargo-deb id: cargo-deb