Compare commits
7 commits
main
...
nex/fix/de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f0e99c96c | ||
|
|
49cc99d0e9 | ||
|
|
6c5ca29c77 | ||
|
|
3ab6d0fa49 | ||
|
|
943047b4bb | ||
|
|
de32fb88b3 | ||
|
|
8257f3b11a |
1 changed files with 21 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue