[llvm] Depot runners arm (PR #120786)

Carlo Cabrera via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 21 08:24:37 PST 2024


================
@@ -22,7 +22,16 @@ runs:
   using: "composite"
   steps:
     - name: Install Ninja
+      # This doesn't seem to work on Ubuntu any more, so just use apt-get
+      if: runner.os != 'Linux'
       uses: llvm/actions/install-ninja at 22e9f909d35b50bd1181709564bfe816eaeaae81 # main
+
+    - name: Install Ninja (Linux)
+      if: runner.os == 'Linux'
+      shell: bash
+      run: |
+        sudo apt-get update
+        sudo apt-get -y install ninja-build
----------------
carlocab wrote:

It seems like this should work still, no?
```suggestion
    - name: Update apt
      # Needed for the install-ninja action to work on Ubuntu for some reason.
      if: runner.os == 'Linux'
      run: sudo apt-get update

    - name: Install Ninja
      uses: llvm/actions/install-ninja at 22e9f909d35b50bd1181709564bfe816eaeaae81 # main
```

https://github.com/llvm/llvm-project/pull/120786


More information about the llvm-commits mailing list