Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

doc: librpma discontinuation announcement #3559

doc: librpma discontinuation announcement

doc: librpma discontinuation announcement #3559

Workflow file for this run

#
# Builds run on every pull request and every push to the repo.
#
name: GitHubActions
on: [push, pull_request]
env:
GITHUB_REPO: pmem/rpma
# use GitHub Container Registry as a repository of docker images
GH_CR_ADDR: ghcr.io
DOCKER_REPO: ghcr.io/pmem/rpma
# use org's Private Access Token to log in to GitHub Container Registry
GH_CR_USER: ${{ secrets.GH_CR_USER }}
GH_CR_PAT: ${{ secrets.GH_CR_PAT }}
DOC_UPDATE_GITHUB_TOKEN: ${{ secrets.DOC_UPDATE_GITHUB_TOKEN }}
HOST_WORKDIR: /home/runner/work/rpma/rpma
WORKDIR: utils/docker
TYPE: normal
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
strategy:
matrix:
CONFIG: ["N=1 OS=ubuntu OS_VER=latest CC=gcc", # to be reverted: TESTS_COVERAGE=1",
"N=2 OS=ubuntu OS_VER=latest CC=clang PUSH_IMAGE=1",
"N=3 OS=fedora OS_VER=latest CC=gcc PUSH_IMAGE=1",
"N=4 OS=fedora OS_VER=latest CC=clang AUTO_DOC_UPDATE=1",
"N=5 OS=rockylinux OS_VER=9 CC=gcc PUSH_IMAGE=1",
"N=6 OS=rockylinux OS_VER=8 CC=gcc PUSH_IMAGE=1",
# Ubuntu-latest with rdma-core v45.0 installed from sources
"N=7 OS=ubuntu OS_VER=latest-with-rdma-core-45 CC=gcc TESTS_COVERAGE=1",
"N=8 OS=ubuntu OS_VER=latest-with-rdma-core-45 CC=clang PUSH_IMAGE=1",
# Fedora-latest with rdma-core v45.0 installed from sources
"N=9 OS=fedora OS_VER=latest-with-rdma-core-45 CC=gcc PUSH_IMAGE=1",
"N=10 OS=fedora OS_VER=latest-with-rdma-core-45 CC=clang"]
steps:
- name: Clone the git repo
uses: actions/checkout@v1
- name: Pull or rebuild the image
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./pull-or-rebuild-image.sh
- name: Run the build
run: cd $WORKDIR && ${{ matrix.CONFIG }} ./build.sh
- name: Push the image
run: cd $WORKDIR && source ./set-vars.sh && ${{ matrix.CONFIG }} /bin/bash -c "if [[ -f ${CI_FILE_PUSH_IMAGE_TO_REPO} ]]; then images/push-image.sh; fi"