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:
parent
2046a23a2f
commit
6ff6f8fb3c
3 changed files with 11 additions and 11 deletions
16
.github/workflows/test-compile.yml
vendored
16
.github/workflows/test-compile.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue