mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-03-29 10:50:15 +00:00
fix(ci): Special case ubuntu-latest
This commit is contained in:
@@ -41,17 +41,17 @@ jobs:
|
||||
# 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: 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" ]]; 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
|
||||
uses: actions/checkout@v6
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
run: |
|
||||
apt-get update -y
|
||||
# Build dependencies for rocksdb
|
||||
apt-get install -y liburing-dev clang
|
||||
apt-get install -y liburing-dev ${{ steps.clang-version.outputs.version }}
|
||||
|
||||
- name: Run cargo-deb
|
||||
id: cargo-deb
|
||||
|
||||
Reference in New Issue
Block a user