From f2d256cdef3ad1926e4109ab1bbc093d5364b6ad Mon Sep 17 00:00:00 2001 From: Petr Kubanek Date: Wed, 25 Oct 2023 14:59:59 +0200 Subject: [PATCH] AlmaLinux GitHub Workflow --- .github/workflows/run_tests.yml | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 2dbcf89b..1a8345ee 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -3,6 +3,22 @@ name: C/C++ CI on: [push] jobs: + almalinux: + runs-on: ubuntu-latest + container: + image: almalinux + steps: + - name: Install dependencies + run: | + dnf install -y epel-release + dnf install -y make g++ catch-devel readline-devel yaml-cpp-devel spdlog-devel + - name: Checkout + uses: actions/checkout@v4 + - name: make junit + run: | + make + make junit || true + centos: runs-on: ubuntu-latest container: @@ -12,25 +28,28 @@ jobs: - name: Install dependencies run: | yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm - yum install -y make boost-devel catch-devel readline-devel yaml-cpp-devel git fmt-devel + yum install -y make catch-devel readline-devel yaml-cpp-devel git - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: make junit run: | git clone https://github.com/gabime/spdlog.git mv spdlog/include/spdlog include/ + git clone https://github.com/fmtlib/fmt + mv fmt/include/fmt include make make junit || true ubuntu: runs-on: ubuntu-latest + name: Test compile on Ubuntu steps: - name: Install dependencies run: | sudo apt update -y - sudo apt install -y make g++ libboost-dev catch libreadline-dev libyaml-cpp-dev libspdlog-dev + sudo apt install -y make g++ catch libreadline-dev libyaml-cpp-dev libspdlog-dev - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: make junit run: | make