Merge pull request #1260 from jordancarlin/installation_ci_images

Always run installation CI in clean docker image
This commit is contained in:
David Harris 2025-02-03 10:50:12 -08:00 committed by GitHub
commit b38900c07b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 image: ubuntu:20.04
container: null imageFamily: debian
regressionFail: true regressionFail: true
- name: ubuntu-22.04 - name: ubuntu-22.04
os: ubuntu-22.04 image: ubuntu:22.04
container: null imageFamily: debian
- name: ubuntu-24.04 - name: ubuntu-24.04
os: ubuntu-24.04 image: 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