From 009bb163c03fdf19beb6ad4afb2cdc5bdd457d89 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Tue, 15 Oct 2024 10:50:50 +0800 Subject: [PATCH] ci: Update --- .github/workflows/c-cpp.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 3e1f84726..faadb4124 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -31,7 +31,8 @@ jobs: - name: Run tests run: >- - CXX='g++-7' meson setup -Denable-debug-checks=true build_ci + export CXX='g++-7'; + meson setup -Denable-debug-checks=true -Doptimization=1 build_ci && meson test -Cbuild_ci msys2: @@ -57,7 +58,7 @@ jobs: - name: Run tests run: >- - meson setup -Denable-debug-checks=true build_ci + meson setup -Denable-debug-checks=true -Doptimization=1 build_ci && meson test -Cbuild_ci macos: @@ -75,5 +76,5 @@ jobs: - name: Run tests run: >- export CC='gcc-12' CXX='g++-12'; - meson setup -Denable-debug-checks=true build_ci + meson setup -Denable-debug-checks=true -Doptimization=1 build_ci && meson test -Cbuild_ci