mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Free disk space before creating images
This commit is contained in:
parent
2413fcfda5
commit
2ed8a50bc9
1 changed files with 8 additions and 0 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -27,6 +27,7 @@ jobs:
|
||||||
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler
|
||||||
- name: Free disk space
|
- name: Free disk space
|
||||||
run: |
|
run: |
|
||||||
|
df -h
|
||||||
sudo swapoff -a >/dev/null 2>&1 || true
|
sudo swapoff -a >/dev/null 2>&1 || true
|
||||||
sudo rm -f /swapfile >/dev/null 2>&1 || true
|
sudo rm -f /swapfile >/dev/null 2>&1 || true
|
||||||
sudo apt-get autoremove -y >/dev/null 2>&1 || true
|
sudo apt-get autoremove -y >/dev/null 2>&1 || true
|
||||||
|
@ -66,6 +67,13 @@ jobs:
|
||||||
OMR_TARGET: ${{ matrix.OMR_TARGET }}
|
OMR_TARGET: ${{ matrix.OMR_TARGET }}
|
||||||
run: |
|
run: |
|
||||||
make IGNORE_ERRORS=m -C $OMR_TARGET/source package/{compile,install,index} -j$(nproc) || make IGNORE_ERRORS=m -C $OMR_TARGET/source package/{compile,install,index} -j1 V=s
|
make IGNORE_ERRORS=m -C $OMR_TARGET/source package/{compile,install,index} -j$(nproc) || make IGNORE_ERRORS=m -C $OMR_TARGET/source package/{compile,install,index} -j1 V=s
|
||||||
|
- name: Free disk space
|
||||||
|
working-directory: ../../omr
|
||||||
|
run: |
|
||||||
|
df -h
|
||||||
|
rm -rf toolchain
|
||||||
|
rm -rf dl
|
||||||
|
df -h
|
||||||
- name: Build image
|
- name: Build image
|
||||||
working-directory: ../../omr
|
working-directory: ../../omr
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue