From 29eecb4f004f2568d704257904cfd542d308d53d Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:29:49 +0800 Subject: [PATCH] feat update workflow --- .gitea/workflows/linux-aarch64-gcc.yml | 2 +- .gitea/workflows/linux-arm-gcc.yml | 4 ++-- .gitea/workflows/linux-mips-gcc.yml | 4 ++-- .gitea/workflows/linux-mips64-gcc.yml | 4 ++-- .gitea/workflows/linux-riscv64-gcc.yml | 4 ++-- .gitea/workflows/linux-x64-clang.yml | 4 ++-- .gitea/workflows/linux-x64-gcc.yml | 10 +++++----- .gitea/workflows/linux-x86-gcc.yml | 10 +++++----- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/linux-aarch64-gcc.yml b/.gitea/workflows/linux-aarch64-gcc.yml index 20c3846..91cddc2 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 -j$(nproc) --timeout 180 + ctest --output-on-failure diff --git a/.gitea/workflows/linux-arm-gcc.yml b/.gitea/workflows/linux-arm-gcc.yml index 651311d..08adabc 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 -j$(nproc) + ctest --output-on-failure 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 -j$(nproc) --timeout 180 + ctest --output-on-failure diff --git a/.gitea/workflows/linux-mips-gcc.yml b/.gitea/workflows/linux-mips-gcc.yml index 76788c9..82abf1a 100644 --- a/.gitea/workflows/linux-mips-gcc.yml +++ b/.gitea/workflows/linux-mips-gcc.yml @@ -44,10 +44,10 @@ jobs: mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/mips-linux-gnu.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON .. - name: build - run: cmake --build build --target all -j `nproc` + run: cmake --build build --target all -j $(nproc) - name: test run: |- 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 -j$(nproc) --timeout 180 + ctest --output-on-failure diff --git a/.gitea/workflows/linux-mips64-gcc.yml b/.gitea/workflows/linux-mips64-gcc.yml index 1614513..315b29f 100644 --- a/.gitea/workflows/linux-mips64-gcc.yml +++ b/.gitea/workflows/linux-mips64-gcc.yml @@ -45,10 +45,10 @@ jobs: mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/mips64el-linux-gnuabi64.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON .. - name: build - run: cmake --build build --target all -j `nproc` + run: cmake --build build --target all -j $(nproc) - name: test run: |- 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 -j$(nproc) --timeout 180 + ctest --output-on-failure diff --git a/.gitea/workflows/linux-riscv64-gcc.yml b/.gitea/workflows/linux-riscv64-gcc.yml index 86b178a..6c553b8 100644 --- a/.gitea/workflows/linux-riscv64-gcc.yml +++ b/.gitea/workflows/linux-riscv64-gcc.yml @@ -46,10 +46,10 @@ jobs: mkdir build && cd build cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/riscv64-linux-gnu.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON .. - name: build - run: cmake --build build --target all -j `nproc` + run: cmake --build build --target all -j $(nproc) - name: test run: |- 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 -j$(nproc) + ctest --output-on-failure diff --git a/.gitea/workflows/linux-x64-clang.yml b/.gitea/workflows/linux-x64-clang.yml index 5552fff..68373d5 100644 --- a/.gitea/workflows/linux-x64-clang.yml +++ b/.gitea/workflows/linux-x64-clang.yml @@ -42,11 +42,11 @@ jobs: cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON .. - name: build run: | - cmake --build build -j `nproc` + cmake --build build -j $(nproc) - name: test run: | cd build - ctest --output-on-failure -j$(nproc) + ctest --output-on-failure # - name: benchmark # run: | # ./build/sled_benchmark diff --git a/.gitea/workflows/linux-x64-gcc.yml b/.gitea/workflows/linux-x64-gcc.yml index 8c43bc0..50fdca2 100644 --- a/.gitea/workflows/linux-x64-gcc.yml +++ b/.gitea/workflows/linux-x64-gcc.yml @@ -43,11 +43,11 @@ jobs: cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON .. - name: build run: | - cmake --build build -j `nproc` + cmake --build build -j $(nproc) - name: test run: | cd build - ctest --output-on-failure -j$(nproc) - # - name: benchmark - # run: | - # ./build/sled_benchmark + ctest --output-on-failure + - name: benchmark + run: | + ./build/tile_bm_all diff --git a/.gitea/workflows/linux-x86-gcc.yml b/.gitea/workflows/linux-x86-gcc.yml index a0560c4..83d1d95 100644 --- a/.gitea/workflows/linux-x86-gcc.yml +++ b/.gitea/workflows/linux-x86-gcc.yml @@ -45,11 +45,11 @@ jobs: cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/host.gcc-m32.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON .. - name: build run: | - cmake --build build -j `nproc` + cmake --build build -j $(nproc) - name: test run: | cd build - ctest --output-on-failure -j$(nproc) - # - name: benchmark - # run: | - # ./build/sled_benchmark + ctest --output-on-failure + - name: benchmark + run: | + ./build/tile_bm_all