3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-17 23:49:29 +00:00

Bump required standard to C++20

This commit is contained in:
Miodrag Milanovic 2026-05-13 10:10:59 +02:00
parent 2046a23a2f
commit 6ff6f8fb3c
3 changed files with 11 additions and 11 deletions

View file

@ -82,20 +82,20 @@ jobs:
$CXX --version
# minimum standard
- name: Build C++17
shell: bash
run: |
make config-$CC_SHORT
make -j$procs CXXSTD=c++17 compile-only
# maximum standard, only on newest compilers
- name: Build C++20
if: ${{ matrix.compiler == 'clang-19' || matrix.compiler == 'gcc-14' }}
shell: bash
run: |
make config-$CC_SHORT
make -j$procs CXXSTD=c++20 compile-only
# maximum standard, only on newest compilers
- name: Build C++26
if: ${{ matrix.compiler == 'clang-19' || matrix.compiler == 'gcc-14' }}
shell: bash
run: |
make config-$CC_SHORT
make -j$procs CXXSTD=c++26 compile-only
test-compile-result:
runs-on: ubuntu-latest
needs: