mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Combine storage clean up steps
This commit is contained in:
parent
f01a410cd5
commit
53d4086947
16
.github/workflows/install.yml
vendored
16
.github/workflows/install.yml
vendored
@ -40,11 +40,6 @@ jobs:
|
|||||||
image: ${{ matrix.image }}
|
image: ${{ matrix.image }}
|
||||||
options: --privileged --mount type=bind,source=/,target=/host --pid=host --entrypoint /bin/bash
|
options: --privileged --mount type=bind,source=/,target=/host --pid=host --entrypoint /bin/bash
|
||||||
steps:
|
steps:
|
||||||
- name: Echo Variables
|
|
||||||
run: |
|
|
||||||
echo ${{ matrix.name }}
|
|
||||||
echo ${{ matrix.os }}
|
|
||||||
echo ${{ matrix.image }}
|
|
||||||
- name: Install Dependencies for Red Hat
|
- name: Install Dependencies for Red Hat
|
||||||
if: ${{ matrix.image != null }}
|
if: ${{ matrix.image != null }}
|
||||||
run: |
|
run: |
|
||||||
@ -55,17 +50,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory '*'
|
git config --global --add safe.directory '*'
|
||||||
git submodule update --init addins/riscv-arch-test addins/verilog-ethernet
|
git submodule update --init addins/riscv-arch-test addins/verilog-ethernet
|
||||||
- name: Free Up Storage for Ubuntu
|
- name: Free Up Storage
|
||||||
if: ${{ matrix.image == null }}
|
|
||||||
run: |
|
run: |
|
||||||
df -h
|
df -h
|
||||||
|
if [ -z ${{ matrix.image }} ]; then
|
||||||
./.github/cli-space-cleanup.sh
|
./.github/cli-space-cleanup.sh
|
||||||
df -h
|
else
|
||||||
- name: Free Up Storage for Red Hat
|
|
||||||
if: ${{ matrix.image != null }}
|
|
||||||
run: |
|
|
||||||
df -h
|
|
||||||
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)"
|
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)"
|
||||||
|
fi
|
||||||
df -h
|
df -h
|
||||||
- name: Install
|
- name: Install
|
||||||
run: sudo ./bin/wally-tool-chain-install.sh --clean
|
run: sudo ./bin/wally-tool-chain-install.sh --clean
|
||||||
|
Loading…
Reference in New Issue
Block a user