mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-03 20:44:58 +00:00
linux.yml|fuzzing.yml: Upgrade to Clang 19
This commit is contained in:
parent
79f2761f75
commit
806939b8c3
3 changed files with 11 additions and 11 deletions
2
.ci.sh
2
.ci.sh
|
@ -39,7 +39,7 @@ if [[ ${RUNNER_OS} = macOS ]]; then
|
|||
latest_brew_python3_bin="$(ls -1d /usr/local/Cellar/python/3.*/bin | sort -n | tail -n1)"
|
||||
export PATH="${latest_brew_python3_bin}${PATH:+:}${PATH}"
|
||||
elif [[ ${RUNNER_OS} = Linux ]]; then
|
||||
export PATH="/usr/lib/llvm-18/bin:${PATH}"
|
||||
export PATH="/usr/lib/llvm-19/bin:${PATH}"
|
||||
else
|
||||
echo "Unsupported RUNNER_OS \"${RUNNER_OS}\"." >&2
|
||||
exit 1
|
||||
|
|
12
.github/workflows/fuzzing.yml
vendored
12
.github/workflows/fuzzing.yml
vendored
|
@ -46,18 +46,18 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
|
||||
- name: Install Clang 18
|
||||
- name: Install Clang 19
|
||||
run: |-
|
||||
set -x
|
||||
source /etc/os-release
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo add-apt-repository "deb https://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-18 main"
|
||||
sudo add-apt-repository "deb https://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-19 main"
|
||||
sudo apt-get update # due to new repository
|
||||
sudo apt-get install --yes --no-install-recommends -V \
|
||||
clang-18 \
|
||||
libclang-rt-18-dev \
|
||||
llvm-18
|
||||
echo /usr/lib/llvm-18/bin >>"${GITHUB_PATH}"
|
||||
clang-19 \
|
||||
libclang-rt-19-dev \
|
||||
llvm-19
|
||||
echo /usr/lib/llvm-19/bin >>"${GITHUB_PATH}"
|
||||
|
||||
- name: Build Expat fuzzers
|
||||
run: |
|
||||
|
|
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
|
@ -120,12 +120,12 @@ jobs:
|
|||
set -x
|
||||
source /etc/os-release
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
sudo add-apt-repository "deb https://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-18 main"
|
||||
sudo add-apt-repository "deb https://apt.llvm.org/${UBUNTU_CODENAME}/ llvm-toolchain-${UBUNTU_CODENAME}-19 main"
|
||||
sudo apt-get update # due to new repository
|
||||
# NOTE: Please note the version-specific ${PATH} extension for Clang adding /usr/lib/llvm-18/bin in .ci.sh
|
||||
# NOTE: Please note the version-specific ${PATH} extension for Clang adding /usr/lib/llvm-19/bin in .ci.sh
|
||||
sudo apt-get install --yes --no-install-recommends -V \
|
||||
clang-18 \
|
||||
libclang-rt-18-dev
|
||||
clang-19 \
|
||||
libclang-rt-19-dev
|
||||
- name: Install build dependencies (common)
|
||||
run: |-
|
||||
sudo apt-get install --yes --no-install-recommends -V \
|
||||
|
|
Loading…
Add table
Reference in a new issue