From dbfda1247da61c72fa5a6757422a3c63e4770e5f Mon Sep 17 00:00:00 2001 From: Enrico Maria Crisostomo Date: Mon, 30 Dec 2024 09:58:55 +0100 Subject: [PATCH] Refactor CI workflow to limit OS matrix to Ubuntu --- .github/workflows/c-cpp.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 818063e3..56745aa3 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -10,7 +10,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, fedora-latest, debian-latest] + os: [ubuntu-latest] configuration: [ Release, Debug ] compiler: [ gcc, clang ] runs-on: ${{ matrix.os }} @@ -26,22 +26,6 @@ jobs: if [ "${{ matrix.compiler }}" == "gcc" ]; then sudo apt-get install -y g++; fi if [ "${{ matrix.compiler }}" == "clang" ]; then sudo apt-get install -y clang; fi - - name: Install dependencies on Fedora - if: matrix.os == 'fedora-latest' - run: | - sudo dnf update -y - sudo dnf install -y autoconf automake gettext git libtool make texinfo - if [ "${{ matrix.compiler }}" == "gcc" ]; then sudo dnf install -y gcc gcc-c++; fi - if [ "${{ matrix.compiler }}" == "clang" ]; then sudo dnf install -y clang; fi - - - name: Install dependencies on Debian - if: matrix.os == 'debian-latest' - run: | - sudo apt-get update - sudo apt-get install -y autoconf automake autopoint gettext git libtool make texinfo - if [ "${{ matrix.compiler }}" == "gcc" ]; then sudo apt-get install -y g++; fi - if [ "${{ matrix.compiler }}" == "clang" ]; then sudo apt-get install -y clang; fi - - name: Run autogen run: ./autogen.sh