[llvm] test with libcxx workflow (PR #71836)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 10:15:56 PST 2023
https://github.com/EricWF created https://github.com/llvm/llvm-project/pull/71836
Test please ignore
>From f99287d421c3758bc6764b488f770950a989e775 Mon Sep 17 00:00:00 2001
From: eric <eric at efcs.ca>
Date: Thu, 9 Nov 2023 13:15:02 -0500
Subject: [PATCH] test with libcxx workflow
---
.../workflows/libcxx-example-workflow.yaml | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 .github/workflows/libcxx-example-workflow.yaml
diff --git a/.github/workflows/libcxx-example-workflow.yaml b/.github/workflows/libcxx-example-workflow.yaml
new file mode 100644
index 000000000000000..c3a7d3ed20bcd8c
--- /dev/null
+++ b/.github/workflows/libcxx-example-workflow.yaml
@@ -0,0 +1,33 @@
+name: Build and Test libc++
+
+on: pull_request
+
+
+# Comment
+jobs:
+ build:
+ runs-on: libcxx-runners-small
+ steps:
+ - uses: actions/checkout at v4
+ with:
+ fetch-depth: 5
+ - name: Create Paths
+ run: |
+ mkdir build install artifacts
+ - name: Configure
+ run: |
+ cd build
+ cmake -GNinja -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_CXX_COMPILER=clang++ \
+ -DCMAKE_C_COMPILER=clang \
+ "-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi"\
+ "-DCMAKE_INSTALL_PREFIX=../install" \
+ ../runtimes
+ - name: Build
+ run: |
+ cd build
+ ninja
+ - name: Install
+ run: |
+ cd build
+ ninja install
More information about the llvm-commits
mailing list