Update generate-bindings.yml

This commit is contained in:
Kalyan 2025-03-10 15:58:38 +05:30 committed by GitHub
parent 4fcf954949
commit 1a16055ace
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,14 +24,16 @@ jobs:
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang-14 llvm-14-dev
sudo apt-get install -y clang-14 llvm-14-dev lld-14
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-14 100
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100
sudo update-alternatives --install /usr/bin/ld.lld ld.lld /usr/bin/ld.lld-14 100
- name: Set Environment Variables
run: |
echo "CC=clang-14" >> $GITHUB_ENV
echo "CXX=clang++-14" >> $GITHUB_ENV
echo "RUSTFLAGS=-C linker=clang-14 -C link-arg=-fuse-ld=lld-14" >> $GITHUB_ENV
- name: Build the Project
run: cargo build