From 88c8eca59472518722a838923c0ebd5f44e13dfe Mon Sep 17 00:00:00 2001 From: Ilia Bozhinov Date: Mon, 4 Sep 2023 08:01:38 +0200 Subject: [PATCH] ci: enable faster compilation --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d919b215a..cbd2fc303 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v1 - run: git config --global --add safe.directory /__w/wayfire/wayfire - run: git submodule sync --recursive && git submodule update --init --force --recursive - - run: meson build -Dtests=enabled + - run: meson build -Dtests=enabled -Db_pch=true - run: ninja -v -Cbuild - run: ninja -v -Cbuild test test_glibc_llvm: @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v1 - run: git config --global --add safe.directory /__w/wayfire/wayfire - run: git submodule sync --recursive && git submodule update --init --force --recursive - - run: env CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++" LDFLAGS="-fuse-ld=lld -stdlib=libc++" meson build + - run: env CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++" LDFLAGS="-fuse-ld=lld -stdlib=libc++" meson build -Db_pch=true - run: ninja -v -Cbuild - run: ninja -v -Cbuild test test_code_style: