mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix(ci): Special case ubuntu-latest
This commit is contained in:
@@ -41,17 +41,17 @@ jobs:
|
|||||||
# else
|
# else
|
||||||
# echo "No workaround needed for llvm-project#153385"
|
# echo "No workaround needed for llvm-project#153385"
|
||||||
# fi
|
# fi
|
||||||
#- name: Pick compatible clang version
|
- name: Pick compatible clang version
|
||||||
# id: clang-version
|
id: clang-version
|
||||||
# run: |
|
run: |
|
||||||
# # both latest need to use clang-23, but oldstable and previous can just use clang
|
# 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
|
if [[ "${{ matrix.container }}" == "ubuntu-latest" ]]; then
|
||||||
# echo "Using clang-23 package for ${{ matrix.container }}"
|
echo "Using clang-23 package for ${{ matrix.container }}"
|
||||||
# echo "version=clang-23" >> $GITHUB_OUTPUT
|
echo "version=clang-23" >> $GITHUB_OUTPUT
|
||||||
# else
|
else
|
||||||
# echo "Using default clang package for ${{ matrix.container }}"
|
echo "Using default clang package for ${{ matrix.container }}"
|
||||||
# echo "version=clang" >> $GITHUB_OUTPUT
|
echo "version=clang" >> $GITHUB_OUTPUT
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
- name: Checkout repository with full history
|
- name: Checkout repository with full history
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
@@ -127,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 liburing-dev clang
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user