mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Update test.yml
This commit is contained in:
parent
a384f22554
commit
72e1125c63
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@ -59,22 +59,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.os }}
|
image: ${{ matrix.os }}
|
||||||
options: --privileged --mount type=bind,source=/,target=/host
|
options: --privileged --mount type=bind,source=/,target=/host --pid=host
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ["rockylinux:8", "almalinux:8", "rockylinux:9", "almalinux:9"]
|
os: ["rockylinux:8", "almalinux:8", "rockylinux:9", "almalinux:9"]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- run: df -h
|
- run: df -h
|
||||||
- name: remove packages
|
- name: remove packages
|
||||||
run: |
|
run: |
|
||||||
removePacks=( '^llvm-.*' 'php.*' '^mongodb-.*' '^mysql-.*' '^dotnet-sdk-.*' 'azure-cli' 'google-cloud-cli' 'google-chrome-stable' 'firefox' 'powershell*' 'microsoft-edge-stable' 'mono-devel' )
|
nsenter -t 1 -m -u -n -i bash .github/cli-space-cleanup.sh
|
||||||
for pack in "${removePacks[@]}"; do
|
|
||||||
echo "REMOVING ${pack}"
|
|
||||||
sudo apt-get purge -y $pack || true
|
|
||||||
done
|
|
||||||
sudo apt-get autoremove -y
|
|
||||||
sudo apt-get clean
|
|
||||||
- run: df -h
|
- run: df -h
|
||||||
- name: check packages
|
- name: check packages
|
||||||
run: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr
|
run: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user