From 775a7262f8d1cce409c05c8b9ecb0e7d53317f9b Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Mon, 10 May 2021 11:10:53 +0200 Subject: [PATCH] updated build system (test also older compilers) --- .github/workflows/build.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 25cd6cf9..a262d756 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,29 @@ jobs: strategy: matrix: - compiler: [g++, clang++] + compiler: [ + g++-7, g++-8, g++-9, g++, + clang++-8, clang++-9, clang++ + ] mode: [-DBUILD_UVW_SHARED_LIB=ON, -DBUILD_UVW_LIBS=ON, -DBUILD_UVW_LIBS=OFF] steps: - uses: actions/checkout@v1 + - name: Install g++-7 + if: ${{ matrix.compiler == 'g++-7' }} + run: | + sudo apt-get update + sudo apt-get install g++-7 -y + - name: Install g++-8 + if: ${{ matrix.compiler == 'g++-8' }} + run: | + sudo apt-get update + sudo apt-get install g++-8 -y + - name: Install clang-8 + if: ${{ matrix.compiler == 'clang++-8' }} + run: | + sudo apt-get update + sudo apt-get install clang-8 -y - name: Compile tests working-directory: build env: