From 24e1fbf8c20cfd3bdce04e2921c5ec099b50b462 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Thu, 20 Feb 2025 11:03:01 -0500 Subject: [PATCH] ci(github-actions): removed fedorah, arch, and macOS from targets will add them back in latter --- .github/workflows/build-and-test.yml | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index c142bd4..f23a65c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,26 +19,11 @@ jobs: - name: Set up dependencies run: | - # Common setup for Linux - if [[ "$RUNNER_OS" == "Linux" ]]; then - if [[ "$matrix.os" == "ubuntu-latest" ]]; then - sudo apt-get update - sudo apt-get install -y cmake build-essential meson ninja-build python3 python3-pip libgtest-dev - pip install meson - # Compile gtest manually for Ubuntu - cd /usr/src/gtest && sudo cmake . && sudo make && sudo cp *.a /usr/lib - elif [[ "$matrix.os" == "fedora-latest" ]]; then - sudo dnf install -y cmake gcc-c++ make meson ninja-build gtest gtest-devel - pip install meson - elif [[ "$matrix.os" == "archlinux" ]]; then - sudo pacman -Syu --noconfirm cmake gcc make meson ninja python gtest - pip install meson - fi - # Common setup for macOS - elif [[ "$RUNNER_OS" == "macOS" ]]; then - brew update - brew install cmake meson ninja python gtest - fi + sudo apt-get update + sudo apt-get install -y cmake build-essential meson ninja-build python3 python3-pip libgtest-dev + pip install meson + # Compile gtest manually for Ubuntu + cd /usr/src/gtest && sudo cmake . && sudo make && sudo cp *.a /usr/lib - name: Run build and tests run: ./mk