cvw/.github/workflows/rocky.yml
2024-10-14 00:42:59 -07:00

45 lines
1.2 KiB
YAML

name: Installation test
on: [workflow_dispatch]
jobs:
install:
name: Test installation on Rocky 9
runs-on: ubuntu-latest
container: rockylinux:8
defaults:
run:
shell: bash
steps:
- run: pwd
- run: ls
- run: df -h
- name: Free up storage
run: |
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo apt-get purge -y \
'^llvm-.*' \
'php.*' \
'^mongodb-.*' \
'^mysql-.*' \
azure-cli \
google-cloud-cli \
google-chrome-stable \
firefox \
powershell \
microsoft-edge-stable \
mono-devel \
&> /dev/null
sudo apt-get autoremove -y
sudo apt-get clean &> /dev/null
df -h
- uses: actions/checkout@v4
- name: install
run: sudo ./bin/wally-tool-chain-install.sh