aboutsummaryrefslogtreecommitdiff
path: root/EASTL/.github/workflows/c-cpp.yml
diff options
context:
space:
mode:
Diffstat (limited to 'EASTL/.github/workflows/c-cpp.yml')
-rw-r--r--EASTL/.github/workflows/c-cpp.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/EASTL/.github/workflows/c-cpp.yml b/EASTL/.github/workflows/c-cpp.yml
index 1537c9c..0be723e 100644
--- a/EASTL/.github/workflows/c-cpp.yml
+++ b/EASTL/.github/workflows/c-cpp.yml
@@ -30,6 +30,7 @@ jobs:
os: [ windows-latest, ubuntu-latest ]
compiler: [ clang, gcc, msvc ]
configuration: [ Debug, Release ]
+ std_iter_compatibility: [ std_iter_category_disabled, std_iter_category_enabled ]
exclude:
- os: windows-latest
compiler: gcc
@@ -43,13 +44,13 @@ jobs:
cxxflags: '/std:c++20 /Zc:char8_t'
- os: ubuntu-latest
compiler: clang
- cc: 'clang-11'
- cxx: 'clang++-11'
+ cc: 'clang-14'
+ cxx: 'clang++-14'
cxxflags: '-std=c++20'
- os: ubuntu-latest
compiler: gcc
- cc: 'gcc-10'
- cxx: 'g++-10'
+ cc: 'gcc-12'
+ cxx: 'g++-12'
cxxflags: '-std=c++2a'
name: Build EASTL
@@ -63,7 +64,7 @@ jobs:
path: Code/
- run: mkdir build
- - run: cd build && cmake ../Code -DEASTL_BUILD_BENCHMARK:BOOL=ON -DEASTL_BUILD_TESTS:BOOL=ON
+ - run: cd build && cmake ../Code -DEASTL_BUILD_BENCHMARK:BOOL=ON -DEASTL_BUILD_TESTS:BOOL=ON -DEASTL_STD_ITERATOR_CATEGORY_ENABLED:BOOL=${{ contains(matrix.std_iter_compatibility, 'enabled') && 'ON' || 'OFF' }}
env:
CXXFLAGS: ${{ matrix.cxxflags }}
CXX: ${{ matrix.cxx }}