Add debian 12 to installation CI and update matrix formation

This commit is contained in:
Jordan Carlin 2024-11-23 20:15:25 -08:00
parent f11799385e
commit 3e9d5a48df
No known key found for this signature in database

View File

@ -38,25 +38,37 @@ jobs:
- name: ubuntu-20.04 - name: ubuntu-20.04
os: ubuntu-20.04 os: ubuntu-20.04
container: null container: null
regresssionFail: true
- name: ubuntu-22.04 - name: ubuntu-22.04
os: ubuntu-22.04 os: ubuntu-22.04
container: null container: null
- name: ubuntu-24.04 - name: ubuntu-24.04
os: ubuntu-24.04 os: ubuntu-24.04
container: null container: null
# Debian Installations
- name: debian-12
os: ubuntu-latest
image: debian:12
imageFamily: debian
# Red Hat Installations # Red Hat Installations
- name: rocky-8 - name: rocky-8
os: ubuntu-latest os: ubuntu-latest
image: rockylinux:8 image: rockylinux:8
imageFamily: redhat
regressionFail: true
- name: rocky-9 - name: rocky-9
os: ubuntu-latest os: ubuntu-latest
image: rockylinux:9 image: rockylinux:9
imageFamily: redhat
- name: almalinux-8 - name: almalinux-8
os: ubuntu-latest os: ubuntu-latest
image: almalinux:8 image: almalinux:8
imageFamily: redhat
regressionFail: true
- name: almalinux-9 - name: almalinux-9
os: ubuntu-latest os: ubuntu-latest
image: almalinux:9 image: almalinux:9
imageFamily: redhat
# User level installation # User level installation
- name: user-install - name: user-install
os: ubuntu-latest os: ubuntu-latest
@ -82,11 +94,16 @@ jobs:
steps: steps:
# Docker images need git installed or the checkout action fails # Docker images need git installed or the checkout action fails
- name: Install Dependencies for Red Hat - name: Install Dependencies for Container Image
if: ${{ matrix.image != null }} if: ${{ matrix.image != null }}
run: | run: |
dnf install -y sudo git if [ ${{ matrix.imageFamily }} == "debian" ]; then
dnf install curl -y --allowerasing || true apt-get update
apt-get install -y sudo git
elif [ ${{ matrix.imageFamily }} == "redhat" ]; then
dnf install -y sudo git
dnf install curl -y --allowerasing || true
fi
# Only clone submodules needed for standard tests/regression to save space # Only clone submodules needed for standard tests/regression to save space
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Clone Necessary Submodules - name: Clone Necessary Submodules
@ -140,12 +157,12 @@ jobs:
df -h df -h
# Run standard regression, skipping distros that are known to be broken with Verilator # Run standard regression, skipping distros that are known to be broken with Verilator
- name: Regression - name: Regression
if: ${{ matrix.name != 'ubuntu-20.04' && matrix.name != 'rocky-8' && matrix.name != 'almalinux-8'}} if: ${{ matrix.regressionFail != true }}
run: | run: |
source setup.sh source setup.sh
regression-wally regression-wally
- name: Lint + wsim Test Only (for distros with broken Verilator sim) - name: Lint + wsim Test Only (for distros with broken Verilator sim)
if: ${{ matrix.name == 'ubuntu-20.04' || matrix.name == 'rocky-8' || matrix.name == 'almalinux-8'}} if: ${{ matrix.regressionFail == true }}
run: | run: |
source setup.sh source setup.sh
mkdir -p $WALLY/sim/verilator/logs/ mkdir -p $WALLY/sim/verilator/logs/