Skip to content

Commit 7196845

Browse files
committed
Add an artifact containing the libc++ headers + libraries.
This artifact is only added for the Clang C++26 configuration. The idea is to use these artifacts in other bits of the workflows, or in other tools outside of github (I'm imagining a compiler explorer instance that allows comparing the libc++ in the pull request with the head version) To be more concrete, one use case is "testing as we ship". Currently all of the workflows build the library using the same compiler (and sometimes dialect?) that they test with. This isn't representative to how libc++ is built and used in the wild. We should consider if we want to build the library once, in a blessed configuration, and then tests it against the battery of compilers & configurations we support. Right now, this is just an experiment.
1 parent e34f956 commit 7196845

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ jobs:
8282
**/CMakeError.log
8383
**/CMakeOutput.log
8484
**/crash_diagnostics/*
85+
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
86+
if: success() && matrix.config == 'generic-cxx26'
87+
with:
88+
name: libcxx-install
89+
path: |
90+
install/**
8591
stage2:
8692
if: github.repository_owner == 'llvm'
8793
runs-on: libcxx-runners-8-set

0 commit comments

Comments
 (0)