Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 40 additions & 23 deletions .github/workflows/ci-scripts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- '.gitattributes'
- '**/*.html'
- '**/*.md'
workflow_dispatch:

env:
SETUP_PATH: .ci-local:.ci
Expand All @@ -41,6 +42,20 @@ jobs:
matrix:
# Job names also name artifacts, character limitations apply
include:
- name: "Ub-22 gcc-11 Base 7.0"
os: ubuntu-22.04
cmp: gcc
configuration: default
base: "7.0"
extra: "CMD_CXXFLAGS=-std=c++11"

- name: "Ub-22 gcc-11 static Base 7.0"
os: ubuntu-22.04
cmp: gcc
configuration: static
base: "7.0"
extra: "CMD_CXXFLAGS=-std=c++11"

- name: "Ub-20 gcc-9 Base 7.0"
os: ubuntu-20.04
cmp: gcc
Expand Down Expand Up @@ -114,6 +129,13 @@ jobs:
base: "7.0"
extra: "CMD_CXXFLAGS=-std=c++11"

- name: "Ub-22 clang-14"
os: ubuntu-22.04
cmp: clang
configuration: default
base: "7.0"
extra: "CMD_CXXFLAGS=-std=c++11"

- name: "RTEMS 5"
os: ubuntu-20.04
cmp: gcc
Expand Down Expand Up @@ -161,7 +183,7 @@ jobs:
extra: "CMD_CXXFLAGS=-std=c++11"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Automatic core dumper analysis
Expand Down Expand Up @@ -204,8 +226,14 @@ jobs:
matrix:
# Job names also name artifacts, character limitations apply
include:
- name: "CentOS-7"
image: centos:7
- name: "CentOS-8"
image: centos:8
cmp: gcc
configuration: default
extra: "CMD_CXXFLAGS=-std=c++11"

- name: "Rocky-9"
image: rockylinux:9
cmp: gcc
configuration: default
extra: "CMD_CXXFLAGS=-std=c++11"
Expand All @@ -223,33 +251,22 @@ jobs:
extra: "CMD_CXXFLAGS=-std=c++11"

steps:
- name: "Build newer Git"
# actions/checkout@v2 wants git >=2.18
# centos:7 has 1.8
if: matrix.image=='centos:7'
- name: "Fix repo URLs on CentOS-8"
# centos:8 is frozen, repos are in the vault
if: matrix.image=='centos:8'
run: |
yum -y install curl make gcc curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
curl https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.29.0.tar.gz | tar -xz
cd git-*
make -j2 prefix=/usr/local all
make prefix=/usr/local install
cd ..
rm -rf git-*
type -a git
git --version
sed -i -e "s|mirrorlist=|#mirrorlist=|" \
-e "s|#baseurl=http://mirror|baseurl=http://vault|" \
/etc/yum.repos.d/CentOS-Linux-{BaseOS,AppStream,Extras,Plus}.repo
- name: "Redhat setup"
run: |
dnfyum() {
dnf -y "$@" || yum -y "$@"
return $?
}
dnfyum install python3 gdb make perl gcc-c++ glibc-devel readline-devel ncurses-devel perl-devel perl-Test-Simple
git --version || dnfyum install git
dnf -y install python3 gdb make perl gcc-c++ glibc-devel readline-devel ncurses-devel perl-devel perl-Test-Simple
git --version || dnf -y install git
# rather than just bite the bullet and link python3 -> python,
# people would rather just break all existing scripts...
[ -e /usr/bin/python ] || ln -sf python3 /usr/bin/python
python --version
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- name: Automatic core dumper analysis
Expand Down
Loading