Remove nimcache inbetween make targets to save disk space (#1492)

This commit is contained in:
Kim De Mey 2023-03-10 20:18:50 +01:00 committed by GitHub
parent c921135e2e
commit 7ed3982929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -248,9 +248,12 @@ jobs:
gcc --version gcc --version
DEFAULT_MAKE_FLAGS="-j${ncpu}" DEFAULT_MAKE_FLAGS="-j${ncpu}"
mingw32-make ${DEFAULT_MAKE_FLAGS} fluffy mingw32-make ${DEFAULT_MAKE_FLAGS} fluffy
mingw32-make ${DEFAULT_MAKE_FLAGS} fluffy-tools
build/fluffy.exe --help build/fluffy.exe --help
rm -rf nimcache
mingw32-make ${DEFAULT_MAKE_FLAGS} fluffy-tools
rm -rf nimcache
mingw32-make ${DEFAULT_MAKE_FLAGS} fluffy-test mingw32-make ${DEFAULT_MAKE_FLAGS} fluffy-test
rm -rf nimcache
- name: Run fluffy tests (Linux) - name: Run fluffy tests (Linux)
if: runner.os == 'Linux' if: runner.os == 'Linux'
@ -261,8 +264,8 @@ jobs:
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib" export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib"
DEFAULT_MAKE_FLAGS="-j${ncpu}" DEFAULT_MAKE_FLAGS="-j${ncpu}"
env CC=gcc make ${DEFAULT_MAKE_FLAGS} fluffy env CC=gcc make ${DEFAULT_MAKE_FLAGS} fluffy
env CC=gcc make ${DEFAULT_MAKE_FLAGS} fluffy-tools
build/fluffy --help build/fluffy --help
env CC=gcc make ${DEFAULT_MAKE_FLAGS} fluffy-tools
# CC is needed to select correct compiler 32/64 bit # CC is needed to select correct compiler 32/64 bit
env CC=gcc CXX=g++ make ${DEFAULT_MAKE_FLAGS} fluffy-test env CC=gcc CXX=g++ make ${DEFAULT_MAKE_FLAGS} fluffy-test
@ -271,8 +274,8 @@ jobs:
run: | run: |
DEFAULT_MAKE_FLAGS="-j${ncpu}" DEFAULT_MAKE_FLAGS="-j${ncpu}"
make ${DEFAULT_MAKE_FLAGS} fluffy make ${DEFAULT_MAKE_FLAGS} fluffy
make ${DEFAULT_MAKE_FLAGS} fluffy-tools
build/fluffy --help build/fluffy --help
make ${DEFAULT_MAKE_FLAGS} fluffy-tools
# "-static" option will not work for osx unless static system libraries are provided # "-static" option will not work for osx unless static system libraries are provided
make ${DEFAULT_MAKE_FLAGS} fluffy-test make ${DEFAULT_MAKE_FLAGS} fluffy-test