Compare commits

...

3 Commits

Author SHA1 Message Date
Younan Zhang
30a8f963f7
[CI] Rename debug symbol names to avoid tripping up the auto-installer (#2441)
The auto-install logic (in the https://github.com/clangd/node-clangd repo)
downloads the first package that starts with `clangd-<platform>-`.

The previous naming of the debug symbols package would mean it matched
this pattern, and it could be downloaded by the auto-install process instead
of the actual binary package.
2025-07-10 21:27:40 -04:00
Kevin
8f26871294
Update autobuild.yaml (#2440)
Fix Windows CI builds.
2025-07-07 18:45:19 +02:00
InfinityWei
1e95a5944b
Upgrade clang version from clang-9 to clang-10 in Linux workflow (#2416)
Fixes https://github.com/clangd/clangd/issues/2415
2025-06-22 03:01:57 -04:00

View File

@ -147,9 +147,9 @@ jobs:
matrix: matrix:
config: config:
- name: windows - name: windows
os: windows-2019 os: windows-2022
preinstall: choco install ninja nasm preinstall: choco install ninja nasm
vcvars: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat vcvars: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
cflags: /O2 /DNDEBUG cflags: /O2 /DNDEBUG
cmake: >- cmake: >-
"-DCMAKE_C_COMPILER=cl" "-DCMAKE_C_COMPILER=cl"
@ -179,7 +179,7 @@ jobs:
container: ubuntu:20.04 container: ubuntu:20.04
preinstall: >- preinstall: >-
apt-get update && apt-get update &&
apt-get install -y ninja-build libz-dev libc-ares-dev wget clang-9 apt-get install -y ninja-build libz-dev libc-ares-dev wget clang-10
software-properties-common p7zip-full curl && software-properties-common p7zip-full curl &&
add-apt-repository ppa:git-core/ppa && add-apt-repository ppa:git-core/ppa &&
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - &&
@ -188,8 +188,8 @@ jobs:
apt-get install -y git cmake python3.8 python3.8-dev apt-get install -y git cmake python3.8 python3.8-dev
cflags: -O3 -gline-tables-only -DNDEBUG -include $GITHUB_WORKSPACE/.github/workflows/lib_compat.h cflags: -O3 -gline-tables-only -DNDEBUG -include $GITHUB_WORKSPACE/.github/workflows/lib_compat.h
cmake: >- cmake: >-
"-DCMAKE_C_COMPILER=clang-9" "-DCMAKE_C_COMPILER=clang-10"
"-DCMAKE_CXX_COMPILER=clang++-9" "-DCMAKE_CXX_COMPILER=clang++-10"
"-DCMAKE_EXE_LINKER_FLAGS_RELEASE=-static-libgcc -Wl,--compress-debug-sections=zlib" "-DCMAKE_EXE_LINKER_FLAGS_RELEASE=-static-libgcc -Wl,--compress-debug-sections=zlib"
"-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON"
"-DLLVM_ENABLE_ZLIB=FORCE_ON" "-DLLVM_ENABLE_ZLIB=FORCE_ON"
@ -341,7 +341,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with: with:
upload_url: ${{ env.UPLOAD_URL }} upload_url: ${{ env.UPLOAD_URL }}
asset_name: clangd-${{ matrix.config.name }}-${{ env.TAG_NAME }}-debug-symbols.7z asset_name: clangd-debug-symbols-${{ matrix.config.name }}-${{ env.TAG_NAME }}.7z
asset_path: clangd-pdb.7z asset_path: clangd-pdb.7z
asset_content_type: application/zip asset_content_type: application/zip
- name: Upload indexing-tools asset - name: Upload indexing-tools asset