Skip to content

Commit

Permalink
try with egor-tensin/setup-clang again
Browse files Browse the repository at this point in the history
  • Loading branch information
mukilan committed Dec 20, 2024
1 parent b491edc commit 8caa2d6
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,20 +124,16 @@ jobs:
run: |
git switch --detach
git reset --hard FETCH_HEAD
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
- name: Set up Clang
uses: egor-tensin/setup-clang@v1
if: ${{ runner.environment != 'self-hosted' }}
with:
version: 14
# - name: Set up Clang
# uses: egor-tensin/setup-clang@v1
# if: ${{ runner.environment != 'self-hosted' }}
# with:
# version: 14
# - name: Set LIBCLANG_PATH and CLANG_PATH variables # needed for bindgen in mozangle
# if: ${{ runner.environment != 'self-hosted' }}
# run: |
# echo "LIBCLANG_PATH=/usr/lib/llvm-14/lib" >> $GITHUB_ENV
# echo "CLANG_PATH=/usr/local/bin/clang-14" >> $GITHUB_ENV
- name: Set LIBCLANG_PATH and CLANG_PATH variables # needed for bindgen in mozangle
if: ${{ runner.environment != 'self-hosted' }}
run: |
echo "LIBCLANG_PATH=/usr/lib/llvm-14/lib" >> $GITHUB_ENV
echo "CLANG_PATH=/usr/bin/clang-14" >> $GITHUB_ENV
# - name: debugging
# run: |
# ls -lah /usr/lib/llvm-14
Expand Down

0 comments on commit 8caa2d6

Please sign in to comment.