ci(github-actions): removed fedorah, arch, and macOS from targets
will add them back in latter
This commit is contained in:
25
.github/workflows/build-and-test.yml
vendored
25
.github/workflows/build-and-test.yml
vendored
@@ -19,26 +19,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up dependencies
|
- name: Set up dependencies
|
||||||
run: |
|
run: |
|
||||||
# Common setup for Linux
|
sudo apt-get update
|
||||||
if [[ "$RUNNER_OS" == "Linux" ]]; then
|
sudo apt-get install -y cmake build-essential meson ninja-build python3 python3-pip libgtest-dev
|
||||||
if [[ "$matrix.os" == "ubuntu-latest" ]]; then
|
pip install meson
|
||||||
sudo apt-get update
|
# Compile gtest manually for Ubuntu
|
||||||
sudo apt-get install -y cmake build-essential meson ninja-build python3 python3-pip libgtest-dev
|
cd /usr/src/gtest && sudo cmake . && sudo make && sudo cp *.a /usr/lib
|
||||||
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
|
|
||||||
|
|
||||||
- name: Run build and tests
|
- name: Run build and tests
|
||||||
run: ./mk
|
run: ./mk
|
||||||
|
|||||||
Reference in New Issue
Block a user