[libcxx-commits] [llvm] [libcxx] Add libc++ github actions workflow to replace buildkite (PR #71836)
Aiden Grossman via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 14 10:17:38 PST 2023
================
@@ -0,0 +1,137 @@
+name: Build and Test libc++
+
+on: pull_request
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
+ cancel-in-progress: true
+
+permissions:
+ checks: write
+
+env:
+ CMAKE: "/opt/bin/cmake"
+
+# Comment
+jobs:
+ stage1:
+ runs-on: libcxx-runners-16
+ continue-on-error: false
+ strategy:
+ fail-fast: true
+ matrix:
+ config: [ 'generic-cxx26', 'generic-cxx03', 'generic-modules' ]
+ cc: [ 'clang-18' ]
+ cxx: [ 'clang++-18' ]
+ include:
+ - config: 'generic-gcc'
+ cc: 'gcc-13'
+ cxx: 'g++-13'
+ steps:
+ - uses: actions/checkout at v4
+ with:
+ fetch-depth: 5
----------------
boomanaiden154 wrote:
Is there a reason the fetch depth here (and below) is 5? As far as I understand, building the code should just need the top commit (although fetching 5 vs 1 is a negligible time impact in clone time).
https://github.com/llvm/llvm-project/pull/71836
More information about the libcxx-commits
mailing list