summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2022-07-17 19:44:32 (GMT)
committerYann Collet <cyan@fb.com>2022-07-17 19:44:32 (GMT)
commit1db2e64a0de0a19d4e69fc49da60eb31fc6dda72 (patch)
tree029cdeb403d4cca0d9ec287bf8e8602d9bd33c18
parenta45597d260b9c30959dc85244f10d6dd0a624562 (diff)
downloadlz4-1db2e64a0de0a19d4e69fc49da60eb31fc6dda72.zip
lz4-1db2e64a0de0a19d4e69fc49da60eb31fc6dda72.tar.gz
lz4-1db2e64a0de0a19d4e69fc49da60eb31fc6dda72.tar.bz2
update CI `make test` to employ `-j`
for faster parallel processing
-rw-r--r--.github/workflows/ci.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0e6d69c..1e8f1e6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -117,7 +117,7 @@ jobs:
- name: make -C tests test-lz4
if: always()
- run: MOREFLAGS='-Werror' make V=1 -C tests clean test-lz4
+ run: make clean; MOREFLAGS='-Werror' make -j V=1 -C tests test-lz4
- name: make clangtest (clang only)
if: ${{ startsWith( matrix.cc , 'clang' ) }}
@@ -125,7 +125,7 @@ jobs:
- name: make -C tests test MOREFLAGS='-mx32'
if: ${{ matrix.x32 == 'true' }}
- run: LDFLAGS='-Wl,--verbose' MOREFLAGS='-mx32' make V=1 -C tests clean test
+ run: make clean; LDFLAGS='-Wl,--verbose' MOREFLAGS='-mx32' make -j V=1 -C tests test
- name: make -C tests test-lz4c32
if: ${{ matrix.x86 == 'true' }}
@@ -139,11 +139,11 @@ jobs:
- name: make -C tests test MOREFLAGS='-mx32' || echo Ignore failure for now.
if: ${{ matrix.x32 == 'fail' }}
- run: LDFLAGS='-Wl,--verbose' MOREFLAGS='-mx32' make V=1 -C tests clean test || $FIXME__LZ4_CI_IGNORE
+ run: make clean; LDFLAGS='-Wl,--verbose' MOREFLAGS='-mx32' make -j V=1 -C tests test || $FIXME__LZ4_CI_IGNORE
- name: make -C tests test-lz4c32 || echo Ignore failure for now.
if: ${{ matrix.x86 == 'fail' }}
- run: LDFLAGS='-Wl,--verbose' MOREFLAGS='-Werror' make V=1 -C tests clean test-lz4c32 || $FIXME__LZ4_CI_IGNORE
+ run: make clean; LDFLAGS='-Wl,--verbose' MOREFLAGS='-Werror' make V=1 -C tests test-lz4c32 || $FIXME__LZ4_CI_IGNORE
# #
###############################################################
@@ -171,10 +171,10 @@ jobs:
sudo apt-get install gcc-multilib
- name: benchmark (-C tests test-lz4)
- run: make V=1 -C tests test-lz4
+ run: make -j V=1 -C tests test-lz4
- name: benchmark (-C tests test-lz4c)
- run: make V=1 -C tests test-lz4c
+ run: make -j V=1 -C tests test-lz4c
- name: benchmark (-C tests test-lz4c32)
run: make V=1 -C tests test-lz4c32
@@ -589,11 +589,11 @@ jobs:
run: CFLAGS="-Werror" make V=1 clean default
- name: make test
- run: make V=1 clean test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion'
+ run: make clean; make -j V=1 test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion'
- name: Ensure `make test` doesn't depend on the status of the console
# see issue #990 for detailed explanations
- run: make test > /dev/null
+ run: make -j test > /dev/null
###############################################################