mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Test all supported distros
This commit is contained in:
parent
c0ffc56d38
commit
5811099446
37
.github/workflows/install.yml
vendored
37
.github/workflows/install.yml
vendored
@ -1,12 +1,14 @@
|
|||||||
name: Installation test
|
name: Installation
|
||||||
|
|
||||||
on: [workflow_dispatch]
|
on: [workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
ubuntu_install:
|
||||||
name: Test installation on Ubuntu 22.04LTS
|
name: Test installation on ${{ matrix.os }}
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
|
||||||
steps:
|
steps:
|
||||||
- name: Free up storage
|
- name: Free up storage
|
||||||
run: |
|
run: |
|
||||||
@ -34,4 +36,27 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: install
|
- name: install
|
||||||
run: sudo ./bin/wally-tool-chain-install.sh
|
run: sudo ./bin/wally-tool-chain-install.sh
|
||||||
|
rhel_family_install:
|
||||||
|
name: Test installation on ${{ matrix.os }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ${{ matrix.os }}
|
||||||
|
options: --privileged --mount type=bind,source=/,target=/host
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [rockylinux:8, rockylinux:9, almalinux:8, almalinux:9]
|
||||||
|
steps:
|
||||||
|
- name: check distro
|
||||||
|
run: cat /etc/os-release
|
||||||
|
- run: dnf install -y sudo
|
||||||
|
- name: free up storage
|
||||||
|
run: |
|
||||||
|
df -h
|
||||||
|
sudo rm -rf /host/usr/local/lib/android
|
||||||
|
sudo rm -rf /host/usr/share/dotnet &> /dev/null
|
||||||
|
sudo rm -rf /host/opt/ghc &> /dev/null
|
||||||
|
sudo rm -rf /host/opt/hostedtoolcache/CodeQL &> /dev/null
|
||||||
|
df -h
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: install
|
||||||
|
run: ./bin/wally-tool-chain-install.sh
|
||||||
|
27
.github/workflows/rockyInstall.yml
vendored
27
.github/workflows/rockyInstall.yml
vendored
@ -1,27 +0,0 @@
|
|||||||
name: Rocky installation test
|
|
||||||
|
|
||||||
on: [workflow_dispatch]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
install:
|
|
||||||
name: Test installation on Rocky 8
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: rockylinux:8
|
|
||||||
options: --privileged --mount type=bind,source=/,target=/host
|
|
||||||
steps:
|
|
||||||
- name: check distro
|
|
||||||
run: cat /etc/os-release
|
|
||||||
- run: dnf install -y sudo
|
|
||||||
- name: free up storage
|
|
||||||
run: |
|
|
||||||
df -h
|
|
||||||
sudo rm -rf /host/usr/local/lib/android
|
|
||||||
sudo rm -rf /host/usr/share/dotnet &> /dev/null
|
|
||||||
sudo rm -rf /host/opt/ghc &> /dev/null
|
|
||||||
sudo rm -rf /host/opt/hostedtoolcache/CodeQL &> /dev/null
|
|
||||||
df -h
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: install
|
|
||||||
run: ./bin/wally-tool-chain-install.sh
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user