Update c-cpp.yml

This commit is contained in:
Martin Raiber 2020-11-07 17:41:40 +01:00 committed by GitHub
parent e04df776c2
commit 98b9b292e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install GCC 10
run: sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa && sudo apt update && sudo apt install g++-10 libstdc++-10-dev
- name: autoconf
run: autoreconf --install
- name: configure
run: ./configure
run: ./configure CXXFLAGS="-O2 -fcoroutines -flto" CXX=g++-10 LDFLAGS="-flto"
- name: make
run: make
- name: make check