-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f93188
commit 8d048a9
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,15 +24,15 @@ runs: | |
shell: bash | ||
run: | | ||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | ||
sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main" | ||
sudo add-apt-repository "deb http://apt.llvm.org/${{ steps.llvm_setup.outputs.UBUNTU_VERSION }}/ llvm-toolchain-${{ steps.llvm_setup.outputs.UBUNTU_VERSION }}-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }} main" | ||
sudo apt-get update | ||
sudo apt-get install --yes autoconf libtool libsecp256k1-dev libsodium-dev liblz4-dev clang-19 lldb-19 lld-19 libc++-19-dev libc++abi-19-dev libunwind-19-dev | ||
sudo apt-get install --yes autoconf libtool libsecp256k1-dev libsodium-dev liblz4-dev clang-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }} lldb-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }} lld-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }} libc++-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }}-dev libc++abi-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }}-dev libunwind-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }}-dev | ||
- uses: arduino/setup-protoc@v2 | ||
with: | ||
repo-token: ${{ inputs.token }} | ||
- shell: bash | ||
run: | | ||
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-19 101 | ||
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-19 101 | ||
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }} 101 | ||
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ steps.llvm_setup.outputs.LLVM_MAJOR_VERSION }} 101 | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] |