-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: LDORAU test rpma on ALL Linux distros
- Loading branch information
Showing
3 changed files
with
112 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
|
||
name: TEST_ALL_OSes | ||
on: [push, pull_request] | ||
|
||
env: | ||
GITHUB_REPO: ldorau/rpma | ||
# use GitHub Container Registry as a repository of docker images | ||
GH_CR_ADDR: ghcr.io | ||
DOCKER_REPO: ghcr.io/ldorau/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: | ||
gcc: | ||
name: GCC | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: gcc | ||
PUSH_IMAGE: 1 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
CONFIG: ["N=Ubuntu21.04 OS=ubuntu OS_VER=21.04", | ||
"N=Ubuntu20.04 OS=ubuntu OS_VER=20.04", | ||
"N=Fedora34 OS=fedora OS_VER=34", | ||
"N=Fedora33 OS=fedora OS_VER=33", | ||
"N=Fedora32 OS=fedora OS_VER=32", | ||
"N=CentOS8 OS=centos OS_VER=8", | ||
"N=CentOS7 OS=centos OS_VER=7 TEST_PYTHON_TOOLS=OFF", | ||
"N=Debian11 OS=debian OS_VER=11", | ||
"N=Debian10 OS=debian OS_VER=10", | ||
"N=DebianS OS=debian OS_VER=stable", | ||
# successors of CentOS: | ||
"N=RockyLinux8.4 OS=rockylinux OS_VER=8.4", | ||
"N=VzLinux8 OS=vzlinux OS_VER=latest", | ||
# Rolling/testing/experimental distributions: | ||
# (the Fedora_Rawhide build was moved to Nightly_Experimental) | ||
"N=Ubuntu_Rolling OS=ubuntu OS_VER=rolling", | ||
"N=Debian_Testing OS=debian OS_VER=testing", | ||
"N=Debian_Experimental OS=debian OS_VER=experimental", | ||
"N=Arch_Linux_Latest OS=archlinux OS_VER=latest", | ||
"N=OpenSUSE_Leap OS=opensuse-leap OS_VER=latest", | ||
"N=OpenSUSE_Tumbleweed OS=opensuse-tumbleweed OS_VER=latest"] | ||
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" | ||
|
||
clang: | ||
name: Clang | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: clang | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
CONFIG: ["N=Ubuntu21.04 OS=ubuntu OS_VER=21.04", | ||
"N=Ubuntu20.04 OS=ubuntu OS_VER=20.04", | ||
"N=Fedora34 OS=fedora OS_VER=34", | ||
"N=Fedora33 OS=fedora OS_VER=33", | ||
"N=Fedora32 OS=fedora OS_VER=32", | ||
"N=CentOS8 OS=centos OS_VER=8", | ||
"N=CentOS7 OS=centos OS_VER=7 TEST_PYTHON_TOOLS=OFF", | ||
"N=Debian11 OS=debian OS_VER=11", | ||
"N=Debian10 OS=debian OS_VER=10", | ||
"N=DebianS OS=debian OS_VER=stable", | ||
# successors of CentOS: | ||
"N=RockyLinux8.4 OS=rockylinux OS_VER=8.4", | ||
"N=VzLinux8 OS=vzlinux OS_VER=latest", | ||
# Rolling/testing/experimental distributions: | ||
# (the Fedora_Rawhide builds were moved to Nightly_Experimental) | ||
# | ||
# "N=Ubuntu_Rolling OS=ubuntu OS_VER=rolling", | ||
# The following tests FAILED: | ||
# 44 - flush-new_0_none (Failed) | ||
# 45 - flush-apm_do_0_none (Failed) | ||
# | ||
"N=Debian_Testing OS=debian OS_VER=testing", | ||
"N=Debian_Experimental OS=debian OS_VER=experimental", | ||
"N=Arch_Linux_Latest OS=archlinux OS_VER=latest", | ||
"N=OpenSUSE_Leap OS=opensuse-leap OS_VER=latest", | ||
"N=OpenSUSE_Tumbleweed OS=opensuse-tumbleweed OS_VER=latest"] | ||
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters