cvw/.github/workflows/install.yml

68 lines
1.8 KiB
YAML
Raw Normal View History

2024-07-16 07:14:57 +00:00
name: Installation
on: [workflow_dispatch]
2024-07-18 04:34:55 +00:00
defaults:
run:
shell: bash
jobs:
2024-07-16 07:14:57 +00:00
ubuntu_install:
name: Test installation on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
2024-07-16 07:33:56 +00:00
fail-fast: false
2024-07-16 07:14:57 +00:00
matrix:
2024-07-17 08:25:06 +00:00
os: ["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"]
steps:
2024-07-17 08:50:19 +00:00
- uses: actions/checkout@v4
with:
submodules: recursive
2024-07-06 13:52:43 +00:00
- name: Free up storage
run: |
2024-07-17 08:25:06 +00:00
df -h
2024-07-17 08:50:19 +00:00
./.github/cli-space-cleanup.sh
2024-07-06 13:45:34 +00:00
df -h
2024-07-06 13:52:43 +00:00
- name: install
run: sudo ./bin/wally-tool-chain-install.sh
- name: make tests
2024-07-17 08:42:02 +00:00
run: |
source setup.sh
make
- name: regresssion
2024-07-17 08:42:02 +00:00
run: |
source setup.sh
regression-wally
2024-07-17 08:25:06 +00:00
2024-07-16 07:14:57 +00:00
rhel_family_install:
name: Test installation on ${{ matrix.os }}
runs-on: ubuntu-latest
container:
image: ${{ matrix.os }}
2024-07-17 08:50:19 +00:00
options: --privileged --mount type=bind,source=/,target=/host --pid=host --entrypoint /bin/bash
2024-07-16 07:14:57 +00:00
strategy:
2024-07-16 07:33:56 +00:00
fail-fast: false
2024-07-16 07:14:57 +00:00
matrix:
2024-07-17 08:25:06 +00:00
os: ["rockylinux:8", "rockylinux:9", "almalinux:8", "almalinux:9"]
2024-07-16 07:14:57 +00:00
steps:
- name: Install dependencies
run: |
dnf install -y sudo git
2024-07-17 08:50:19 +00:00
dnf install curl -y --allowerasing || true
- uses: actions/checkout@v4
with:
submodules: recursive
2024-07-17 08:42:02 +00:00
- name: Free up storage
2024-07-16 07:14:57 +00:00
run: |
df -h
2024-07-17 08:42:02 +00:00
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)"
2024-07-16 07:14:57 +00:00
df -h
- name: install
run: ./bin/wally-tool-chain-install.sh
- name: make tests
2024-07-17 08:25:06 +00:00
run: |
source setup.sh
make
- name: regresssion
2024-07-17 08:25:06 +00:00
run: |
source setup.sh
regression-wally