File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
env :
2
2
CTEST_OUTPUT_ON_FAILURE : 1
3
+ LIBCXX_STANDARDS_JSON : ' ["20","23"]'
3
4
4
5
on :
5
6
workflow_call :
@@ -30,15 +31,17 @@ jobs:
30
31
run : sudo apt-get install -y clang-${{ matrix.version }}
31
32
32
33
- name : Install libc++ Clang ${{ matrix.version }}
33
- if : matrix.standard == '20'
34
+ if : contains(fromJson(env.LIBCXX_STANDARDS_JSON), matrix.standard)
34
35
run : sudo apt-get install -y libc++-${{ matrix.version }}-dev libc++abi-${{ matrix.version }}-dev
35
36
36
37
- name : Configure (install)
37
38
env :
38
39
CC : clang-${{ matrix.version }}
39
40
CXX : clang-${{ matrix.version }}
40
41
run : |
41
- if [ "${{ matrix.standard }}" = "20" ]; then
42
+ sudo apt-get update && sudo apt-get install -y jq
43
+ STDS=$(echo '${{ env.LIBCXX_STANDARDS_JSON }}' | jq -r '.[]' | xargs)
44
+ if echo "$STDS" | grep -wq "${{ matrix.standard }}"; then
42
45
CXX_FLAGS='-stdlib=libc++'
43
46
else
44
47
CXX_FLAGS=''
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ export module lz;
61
61
#include " Lz/interleave.hpp"
62
62
#include " Lz/intersection.hpp"
63
63
#include " Lz/iter_tools.hpp"
64
- #include " Lz/iterator_base.hpp"
65
64
#include " Lz/join_where.hpp"
66
65
#include " Lz/loop.hpp"
67
66
#include " Lz/map.hpp"
You can’t perform that action at this time.
0 commit comments