Skip to content

Commit

Permalink
Refactor CI workflow to limit OS matrix to Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
emcrisostomo committed Dec 30, 2024
1 parent 5ccd5b4 commit dbfda12
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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

Expand Down

0 comments on commit dbfda12

Please sign in to comment.