2024-07-16 07:14:57 +00:00
|
|
|
name: Installation
|
2024-07-05 03:52:52 +00:00
|
|
|
|
|
|
|
on: [workflow_dispatch]
|
|
|
|
|
|
|
|
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"]
|
2024-07-05 03:52:52 +00:00
|
|
|
steps:
|
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:42:02 +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
|
|
|
- uses: actions/checkout@v4
|
2024-07-16 14:08:52 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2024-07-06 13:52:43 +00:00
|
|
|
- name: install
|
|
|
|
run: sudo ./bin/wally-tool-chain-install.sh
|
2024-07-16 07:47:38 +00:00
|
|
|
- name: make tests
|
2024-07-17 08:42:02 +00:00
|
|
|
run: |
|
|
|
|
source setup.sh
|
|
|
|
make
|
2024-07-16 07:47:38 +00:00
|
|
|
- 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 }}
|
|
|
|
options: --privileged --mount type=bind,source=/,target=/host
|
|
|
|
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:
|
2024-07-17 08:46:51 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
dnf install -y sudo git
|
|
|
|
dnf remove -y curl-minimal || true
|
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
|
|
|
|
- uses: actions/checkout@v4
|
2024-07-16 14:08:52 +00:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2024-07-16 07:14:57 +00:00
|
|
|
- name: install
|
|
|
|
run: ./bin/wally-tool-chain-install.sh
|
2024-07-16 07:47:38 +00:00
|
|
|
- name: make tests
|
2024-07-17 08:25:06 +00:00
|
|
|
run: |
|
|
|
|
source setup.sh
|
|
|
|
make
|
2024-07-16 07:47:38 +00:00
|
|
|
- name: regresssion
|
2024-07-17 08:25:06 +00:00
|
|
|
run: |
|
|
|
|
source setup.sh
|
|
|
|
regression-wally
|