From b2e54ea896a46fa05ac40f88e4445f74e2766548 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Wed, 18 Dec 2024 23:55:10 +0800 Subject: [PATCH] feat use ninja --- .gitea/workflows/linux-aarch64-gcc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/linux-aarch64-gcc.yml b/.gitea/workflows/linux-aarch64-gcc.yml index 415d7fe..679cd29 100644 --- a/.gitea/workflows/linux-aarch64-gcc.yml +++ b/.gitea/workflows/linux-aarch64-gcc.yml @@ -41,11 +41,11 @@ jobs: - name: install-tools run: | sudo apt-get update -y - sudo apt-get install -y cmake make g++-aarch64-linux-gnu qemu-user-binfmt + sudo apt-get install -y cmake make g++-aarch64-linux-gnu qemu-user-binfmt ninja-build - name: configure run: | mkdir build && cd build - cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/aarch64-linux-gnu.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON .. + cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=../toolchains/aarch64-linux-gnu.toolchain.cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON .. - name: build run: | cd build