[llvm] Attempt to install and upload results of libc++ build in C++26 configuration. (PR #76235)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 22 05:38:05 PST 2023
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Eric (EricWF)
<details>
<summary>Changes</summary>
The idea is to make these artifacts accessible elsewhere, for easier
analysis of pull requests.
---
Full diff: https://github.com/llvm/llvm-project/pull/76235.diff
1 Files Affected:
- (modified) .github/workflows/libcxx-build-and-test.yaml (+12)
``````````diff
diff --git a/.github/workflows/libcxx-build-and-test.yaml b/.github/workflows/libcxx-build-and-test.yaml
index 25e8c8c1ef21aa..2133d74a086db6 100644
--- a/.github/workflows/libcxx-build-and-test.yaml
+++ b/.github/workflows/libcxx-build-and-test.yaml
@@ -86,6 +86,17 @@ jobs:
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*
+ # Install the artifacts for to a dummy directory and capture them as artifacts to be downloaded and consumed
+ # elsewhere.
+ - name: install-artifacts
+ run: |
+ cmake --build build/{{matrix.config}} -- install
+ - uses: actions/upload-artifact at v3
+ if: {{ matrix.config == 'generic-cxx26'}} # Upload artifacts even if the build or test suite fails
+ with:
+ name: ${{ matrix.config }}-installation
+ path: |
+ build/{{matrix.config}}/install
stage2:
if: github.repository_owner == 'llvm'
runs-on: libcxx-runners-8-set
@@ -135,6 +146,7 @@ jobs:
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*
+
stage3:
if: github.repository_owner == 'llvm'
needs: [ stage1, stage2 ]
``````````
</details>
https://github.com/llvm/llvm-project/pull/76235
More information about the llvm-commits
mailing list