mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 17:55:19 +00:00
Add debian 12 to installation CI and update matrix formation
This commit is contained in:
parent
f11799385e
commit
3e9d5a48df
23
.github/workflows/install.yml
vendored
23
.github/workflows/install.yml
vendored
@ -38,25 +38,37 @@ jobs:
|
||||
- name: ubuntu-20.04
|
||||
os: ubuntu-20.04
|
||||
container: null
|
||||
regresssionFail: true
|
||||
- name: ubuntu-22.04
|
||||
os: ubuntu-22.04
|
||||
container: null
|
||||
- name: ubuntu-24.04
|
||||
os: ubuntu-24.04
|
||||
container: null
|
||||
# Debian Installations
|
||||
- name: debian-12
|
||||
os: ubuntu-latest
|
||||
image: debian:12
|
||||
imageFamily: debian
|
||||
# Red Hat Installations
|
||||
- name: rocky-8
|
||||
os: ubuntu-latest
|
||||
image: rockylinux:8
|
||||
imageFamily: redhat
|
||||
regressionFail: true
|
||||
- name: rocky-9
|
||||
os: ubuntu-latest
|
||||
image: rockylinux:9
|
||||
imageFamily: redhat
|
||||
- name: almalinux-8
|
||||
os: ubuntu-latest
|
||||
image: almalinux:8
|
||||
imageFamily: redhat
|
||||
regressionFail: true
|
||||
- name: almalinux-9
|
||||
os: ubuntu-latest
|
||||
image: almalinux:9
|
||||
imageFamily: redhat
|
||||
# User level installation
|
||||
- name: user-install
|
||||
os: ubuntu-latest
|
||||
@ -82,11 +94,16 @@ jobs:
|
||||
|
||||
steps:
|
||||
# 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 }}
|
||||
run: |
|
||||
if [ ${{ matrix.imageFamily }} == "debian" ]; then
|
||||
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
|
||||
- uses: actions/checkout@v4
|
||||
- name: Clone Necessary Submodules
|
||||
@ -140,12 +157,12 @@ jobs:
|
||||
df -h
|
||||
# Run standard regression, skipping distros that are known to be broken with Verilator
|
||||
- name: Regression
|
||||
if: ${{ matrix.name != 'ubuntu-20.04' && matrix.name != 'rocky-8' && matrix.name != 'almalinux-8'}}
|
||||
if: ${{ matrix.regressionFail != true }}
|
||||
run: |
|
||||
source setup.sh
|
||||
regression-wally
|
||||
- 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: |
|
||||
source setup.sh
|
||||
mkdir -p $WALLY/sim/verilator/logs/
|
||||
|
Loading…
Reference in New Issue
Block a user