Skip to content

Commit

Permalink
AlmaLinux GitHub Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubanek committed Oct 25, 2023
1 parent 17e17da commit f2d256c
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit f2d256c

Please sign in to comment.