diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 836345bd6673a..8dd49ed0b58cd 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -124,16 +124,20 @@ jobs: run: | git switch --detach git reset --hard FETCH_HEAD - - name: Set up Clang - uses: egor-tensin/setup-clang@v1 - if: ${{ runner.environment != 'self-hosted' }} + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v2 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 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: debugging # run: | # ls -lah /usr/lib/llvm-14