[Refactor] (buildsystem, 3rdparty): link test and benchmark to MobileGL library

This commit is contained in:
2025-08-25 15:46:59 +08:00
parent a19c0a214a
commit 3513e3bffe
10 changed files with 259 additions and 198 deletions
+3 -2
View File
@@ -8,7 +8,8 @@ jobs:
benchmark:
runs-on: ubuntu-latest
env:
BENCH_ROOT: ${{github.workspace}}/MobileGL/MG_Benchmark
# BENCH_ROOT: ${{github.workspace}}/MobileGL/MG_Benchmark
BENCH_ROOT: ${{github.workspace}}
steps:
- name: Set Swap Space
@@ -40,7 +41,7 @@ jobs:
- name: Configure CMake
working-directory: ${{env.BENCH_ROOT}}
run: cmake -S . -B build-bench -DCMAKE_BUILD_TYPE=Release -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON -DBENCHMARK_ENABLE_TESTING=OFF
run: cmake -S . -B build-bench -DCMAKE_BUILD_TYPE=Release -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON -DBENCHMARK_ENABLE_TESTING=OFF -DBUILD_TEST=OFF -DBUILD_BENCHMARK=ON
- name: Build
working-directory: ${{env.BENCH_ROOT}}/build-bench