Test Redhat-compatible platforms #2
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
name: Test Redhat-compatible platforms | |
on: | |
workflow_dispatch: | |
inputs: | |
platforms: | |
description: 'Platforms' | |
default: '["centos:7", "rockylinux:8", "rockylinux:9", "oraclelinux:7", "oraclelinux:8", | |
"oraclelinux:9", "amazonlinux:2", "amazonlinux:2022", "amazonlinux:2023"]' | |
jobs: | |
redhat-compat-matrix: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l -eo pipefail {0} | |
strategy: | |
matrix: | |
os: ${{ fromJson(inputs.platforms) }} | |
fail-fast: false | |
container: | |
image: ${{ matrix.os }} | |
options: --cpus 2 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- run: | | |
git config --global --add safe.directory '*' | |
git submodule update --init --recursive | |
- name: Python | |
run: | | |
./bin/getpy3 | |
- name: Setup repositories | |
run: | | |
./bin/getepel | |
- name: GCC | |
run: | | |
./bin/getgcc --modern |