keyvan il y a 10 mois
Parent
commit
024a5ec572
1 fichiers modifiés avec 12 ajouts et 6 suppressions
  1. 12 6
      .github/workflows/ci-pre-commit.yml

+ 12 - 6
.github/workflows/ci-pre-commit.yml

@@ -25,12 +25,18 @@ jobs:
         run: |
           rustup install 1.66.1
           rustup install 1.73.0
-      - name: Install clang
-        run: |
-          sudo apt-get update
-          sudo apt install make clang-14 pkg-config libssl-dev
-          sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100
-          clang -v
+      # - name: Install clang
+      #   run: |
+      #     sudo apt-get update
+      #     sudo apt install make clang-14 pkg-config libssl-dev
+      #     sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 100
+      #     clang -v
+      - name: Set up Clang
+        uses: egor-tensin/setup-clang@v1
+        with:
+          version: 14
+          platform: x64
+      - run: clang -v
       - name: Install protoc
         uses: arduino/setup-protoc@v3
       - name: Install poetry