[llvm] workflows: Fix baseline version for llvm abi checks (PR #85166)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 03:01:29 PDT 2024
================
@@ -58,10 +59,17 @@ jobs:
- name: Setup Variables
id: vars
run: |
- if [ ${{ steps.version.outputs.LLVM_VERSION_MINOR }} -ne 0 ] || [ ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
+ # libLLVM:
+ # 18.1.0 we aren't doing ABI checks.
+ # 18.1.1 We want to check 18.1.0.
+ # libclang:
+ # 18.1.0 We want to check 17.0.x
+ # 18.1.1 We want to check 18.1.0
+ echo "BASELINE_VERSION_MINOR=1" >> "$GITHUB_OUTPUT"
+ if [ ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
{
echo "BASELINE_VERSION_MAJOR=$(( ${{ steps.version.outputs.LLVM_VERSION_MAJOR }} - 1))"
- echo "ABI_HEADERS=llvm-c"
+ echo "ABI_HEADERS=llvm-c"
----------------
nikic wrote:
Stray trailing whitespace?
https://github.com/llvm/llvm-project/pull/85166
More information about the llvm-commits
mailing list