2024-07-05 03:52:52 +00:00
|
|
|
name: Installation test
|
|
|
|
|
|
|
|
on: [workflow_dispatch]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
install:
|
|
|
|
name: Test installation on Ubuntu 22.04LTS
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
|
|
|
steps:
|
2024-07-06 13:52:43 +00:00
|
|
|
- name: Free up storage
|
|
|
|
run: |
|
|
|
|
sudo rm -rf /usr/local/lib/android &> /dev/null
|
|
|
|
sudo rm -rf /usr/share/dotnet &> /dev/null
|
|
|
|
sudo rm -rf /opt/ghc &> /dev/null
|
|
|
|
sudo rm -rf /opt/hostedtoolcache/CodeQL &> /dev/null
|
|
|
|
sudo docker image prune --all --force &> /dev/null
|
2024-07-06 13:45:34 +00:00
|
|
|
sudo apt-get purge -y \
|
|
|
|
'^llvm-.*' \
|
|
|
|
'php.*' \
|
|
|
|
'^mongodb-.*' \
|
|
|
|
'^mysql-.*' \
|
|
|
|
azure-cli \
|
|
|
|
google-cloud-cli \
|
|
|
|
google-chrome-stable \
|
|
|
|
firefox \
|
|
|
|
powershell \
|
|
|
|
microsoft-edge-stable \
|
2024-07-06 13:52:43 +00:00
|
|
|
mono-devel \
|
|
|
|
&> /dev/null
|
|
|
|
sudo apt-get autoremove -y &> /dev/null
|
|
|
|
sudo apt-get clean &> /dev/null
|
2024-07-06 13:45:34 +00:00
|
|
|
df -h
|
2024-07-06 13:52:43 +00:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: install
|
|
|
|
run: sudo ./bin/wally-tool-chain-install.sh
|
2024-07-05 03:52:52 +00:00
|
|
|
|