Always run installation CI in fresh docker image

This commit is contained in:
Jordan Carlin 2025-01-30 20:22:59 -08:00
parent d475f64f99
commit a303c694a3
No known key found for this signature in database

View File

@ -37,67 +37,57 @@ jobs:
include: include:
# Ubuntu Installations # Ubuntu Installations
- name: ubuntu-20.04 - name: ubuntu-20.04
os: ubuntu-20.04 container: ubuntu:20.04
container: null imageFamily: debian
regressionFail: true regressionFail: true
- name: ubuntu-22.04 - name: ubuntu-22.04
os: ubuntu-22.04 container: ubuntu:22.04
container: null imageFamily: debian
- name: ubuntu-24.04 - name: ubuntu-24.04
os: ubuntu-24.04 container: ubuntu:24.04
container: null imageFamily: debian
# Debian Installations # Debian Installations
- name: debian-12 - name: debian-12
os: ubuntu-latest
image: debian:12 image: debian:12
imageFamily: debian imageFamily: debian
- name: debian-11 - name: debian-11
os: ubuntu-latest
image: debian:11 image: debian:11
imageFamily: debian imageFamily: debian
# Red Hat Installations # Red Hat Installations
- name: rocky-8 - name: rocky-8
os: ubuntu-latest
image: rockylinux:8 image: rockylinux:8
imageFamily: redhat imageFamily: redhat
regressionFail: true regressionFail: true
- name: rocky-9 - name: rocky-9
os: ubuntu-latest
image: rockylinux:9 image: rockylinux:9
imageFamily: redhat imageFamily: redhat
- name: almalinux-8 - name: almalinux-8
os: ubuntu-latest
image: almalinux:8 image: almalinux:8
imageFamily: redhat imageFamily: redhat
regressionFail: true regressionFail: true
- name: almalinux-9 - name: almalinux-9
os: ubuntu-latest
image: almalinux:9 image: almalinux:9
imageFamily: redhat imageFamily: redhat
# SUSE Installations # SUSE Installations
- name: opensuse-15.6 - name: opensuse-15.6
os: ubuntu-latest
image: opensuse/leap:15.6 image: opensuse/leap:15.6
imageFamily: suse imageFamily: suse
# User level installation # User level installation
- name: user-install - name: user-install
os: ubuntu-latest
image: null image: null
user: true user: true
# Custom location installation # Custom location installation
- name: custom-install - name: custom-install
os: ubuntu-latest
image: null image: null
riscv_path: /home/riscv riscv_path: /home/riscv
# Custom location user level installation # Custom location user level installation
- name: custom-user-install - name: custom-user-install
os: ubuntu-latest
image: null image: null
user: true user: true
riscv_path: $HOME/riscv-toolchain riscv_path: $HOME/riscv-toolchain
# run on selected version of ubuntu or on ubuntu-latest with docker image # run on selected version of ubuntu or on ubuntu-latest with docker image
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
container: container:
image: ${{ matrix.image }} image: ${{ matrix.image }}
options: --privileged --mount type=bind,source=/,target=/host --pid=host --entrypoint /bin/bash # Allow for connection with host options: --privileged --mount type=bind,source=/,target=/host --pid=host --entrypoint /bin/bash # Allow for connection with host