Skip to content

Commit 5cdc19e

Browse files
authored
Add xeus-cpp kernel (C++20) to conformance tests (#32)
Second of 7 xeus kernels requested in #30. Uses xcpp20 kernel (C++20 standard) since xeus-cling already uses xcpp17.
1 parent a46d5f4 commit 5cdc19e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/conformance.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
- name: xeus-python
7474
install: micromamba install -y xeus-python -c conda-forge
7575
kernel-name: xpython
76+
- name: xeus-cpp
77+
install: micromamba install -y xeus-cpp -c conda-forge
78+
kernel-name: xcpp20
7679

7780
steps:
7881
- uses: actions/checkout@v4
@@ -112,7 +115,7 @@ jobs:
112115
go-version: '1.22'
113116

114117
- name: Set up Mamba
115-
if: contains(fromJson('["xeus-cling", "xeus-sql", "xeus-python"]'), matrix.kernel.name)
118+
if: contains(fromJson('["xeus-cling", "xeus-sql", "xeus-python", "xeus-cpp"]'), matrix.kernel.name)
116119
uses: mamba-org/setup-micromamba@v2
117120
with:
118121
micromamba-version: 'latest'
@@ -151,7 +154,7 @@ jobs:
151154
run: ${{ matrix.kernel.install }}
152155

153156
- name: Copy conda kernelspecs to user directory
154-
if: contains(fromJson('["xeus-cling", "xeus-sql", "xeus-python"]'), matrix.kernel.name)
157+
if: contains(fromJson('["xeus-cling", "xeus-sql", "xeus-python", "xeus-cpp"]'), matrix.kernel.name)
155158
run: |
156159
echo "Looking for kernelspecs..."
157160
find $MAMBA_ROOT_PREFIX -name "kernel.json" 2>/dev/null || true

0 commit comments

Comments
 (0)