[llvm] [libc++] Move the check-generated-files job to Github Actions (PR #68920)
Louis Dionne via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 12 14:23:26 PDT 2023
================
@@ -0,0 +1,29 @@
+name: "Check libc++ generated files"
+on:
+ pull_request_target:
+ paths:
+ - 'libcxx/**'
+permissions:
+ pull-requests: write
+
+jobs:
+ check_generated_files:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Fetch LLVM sources
+ uses: actions/checkout at v4
+ with:
+ fetch-depth: 2
+
+ - name: Install clang-format
+ uses: aminya/setup-cpp at v1
+ with:
+ clangformat: 17.0.1
+
+ - name: Install Ninja
+ uses: seanmiddleditch/gha-setup-ninja at master
----------------
ldionne wrote:
Is it more idiomatic to use [llvm/actions/install-ninja](https://github.com/llvm/actions/tree/main/install-ninja) or to install it manually? I don't really mind either way. I think I've seen `uses:` being used more often in actions but I don't mind using `apt-get` directly either.
https://github.com/llvm/llvm-project/pull/68920
More information about the llvm-commits
mailing list