mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Reorder installation CI for better space usage
This commit is contained in:
parent
31bfcdc660
commit
c99f11a5a2
10
.github/workflows/install.yml
vendored
10
.github/workflows/install.yml
vendored
@ -128,10 +128,10 @@ jobs:
|
|||||||
df -h
|
df -h
|
||||||
if [ -z ${{ matrix.image }} ]; then
|
if [ -z ${{ matrix.image }} ]; then
|
||||||
./.github/scripts/cli-space-cleanup.sh
|
./.github/scripts/cli-space-cleanup.sh
|
||||||
./.github/scripts/cli-create-lvm.sh
|
#./.github/scripts/cli-create-lvm.sh
|
||||||
else
|
else
|
||||||
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/scripts/cli-space-cleanup.sh)"
|
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/scripts/cli-space-cleanup.sh)"
|
||||||
nsenter -t 1 -m -u -n -i bash -c "$(cat .github/scripts/cli-create-lvm.sh)"
|
#nsenter -t 1 -m -u -n -i bash -c "$(cat .github/scripts/cli-create-lvm.sh)"
|
||||||
fi
|
fi
|
||||||
df -h
|
df -h
|
||||||
# Run main tool chain installation script, either as a user or system wide
|
# Run main tool chain installation script, either as a user or system wide
|
||||||
@ -162,9 +162,11 @@ jobs:
|
|||||||
name: installation-logs-${{ matrix.name }}
|
name: installation-logs-${{ matrix.name }}
|
||||||
path: ${{ env.RISCV }}/logs/
|
path: ${{ env.RISCV }}/logs/
|
||||||
# Only the linux-testvectors are needed, so remove the rest of the buildroot to save space
|
# Only the linux-testvectors are needed, so remove the rest of the buildroot to save space
|
||||||
- name: Remove Buildroot to Save Space
|
# Logs have already been uploaded so they can be removed
|
||||||
|
- name: Clean up installation
|
||||||
run: |
|
run: |
|
||||||
rm -rf $RISCV/buildroot/ || sudo rm -rf $RISCV/
|
rm -rf $RISCV/buildroot/ || sudo rm -rf $RISCV/buildroot/
|
||||||
|
rm -rf $RISCV/logs || sudo rm -rf $RISCV/logs
|
||||||
df -h
|
df -h
|
||||||
# Make riscof and zsbl only as that is the only testsuite used by standard regression
|
# Make riscof and zsbl only as that is the only testsuite used by standard regression
|
||||||
- name: make tests
|
- name: make tests
|
||||||
|
Loading…
Reference in New Issue
Block a user