From 80e184af0712de89e9b314c939d04a1cd7276a1f Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:52:25 +0800 Subject: [PATCH] feat test use multi thread --- .gitea/workflows/linux-aarch64-gcc.yml | 2 +- .gitea/workflows/linux-arm-gcc.yml | 4 ++-- .gitea/workflows/linux-mips-gcc.yml | 2 +- .gitea/workflows/linux-mips64-gcc.yml | 2 +- .gitea/workflows/linux-riscv64-gcc.yml | 2 +- .gitea/workflows/linux-x64-gcc.yml | 2 +- .gitea/workflows/linux-x86-gcc.yml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/linux-aarch64-gcc.yml b/.gitea/workflows/linux-aarch64-gcc.yml index 91cddc2..7ebe318 100644 --- a/.gitea/workflows/linux-aarch64-gcc.yml +++ b/.gitea/workflows/linux-aarch64-gcc.yml @@ -52,4 +52,4 @@ jobs: cd build sudo ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1 export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-arm-gcc.yml b/.gitea/workflows/linux-arm-gcc.yml index 08adabc..608eedc 100644 --- a/.gitea/workflows/linux-arm-gcc.yml +++ b/.gitea/workflows/linux-arm-gcc.yml @@ -50,7 +50,7 @@ jobs: cd build sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib/ld-linux.so.3 export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) linux-gcc-armhf: runs-on: ubuntu-20.04 @@ -75,4 +75,4 @@ jobs: cd build sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3 export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/ - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-mips-gcc.yml b/.gitea/workflows/linux-mips-gcc.yml index 82abf1a..e1ee3a0 100644 --- a/.gitea/workflows/linux-mips-gcc.yml +++ b/.gitea/workflows/linux-mips-gcc.yml @@ -50,4 +50,4 @@ jobs: cd build sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ld.so.1 export LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib/ - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-mips64-gcc.yml b/.gitea/workflows/linux-mips64-gcc.yml index 315b29f..23a500f 100644 --- a/.gitea/workflows/linux-mips64-gcc.yml +++ b/.gitea/workflows/linux-mips64-gcc.yml @@ -51,4 +51,4 @@ jobs: cd build sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1 export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-riscv64-gcc.yml b/.gitea/workflows/linux-riscv64-gcc.yml index 6c553b8..1c6566a 100644 --- a/.gitea/workflows/linux-riscv64-gcc.yml +++ b/.gitea/workflows/linux-riscv64-gcc.yml @@ -52,4 +52,4 @@ jobs: cd build sudo ln -sf /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64d.so.1 export LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) diff --git a/.gitea/workflows/linux-x64-gcc.yml b/.gitea/workflows/linux-x64-gcc.yml index 50fdca2..dd09d6f 100644 --- a/.gitea/workflows/linux-x64-gcc.yml +++ b/.gitea/workflows/linux-x64-gcc.yml @@ -47,7 +47,7 @@ jobs: - name: test run: | cd build - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) - name: benchmark run: | ./build/tile_bm_all diff --git a/.gitea/workflows/linux-x86-gcc.yml b/.gitea/workflows/linux-x86-gcc.yml index 83d1d95..c72322b 100644 --- a/.gitea/workflows/linux-x86-gcc.yml +++ b/.gitea/workflows/linux-x86-gcc.yml @@ -49,7 +49,7 @@ jobs: - name: test run: | cd build - ctest --output-on-failure + ctest --output-on-failure -j $(nproc) - name: benchmark run: | ./build/tile_bm_all