diff options
author | Robert Adam <dev@robert-adam.de> | 2021-03-04 13:52:08 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-03-06 20:57:22 +0300 |
commit | d1f28fdabda9c5fa2a4219d3307a92fd95a2c3c9 (patch) | |
tree | 191894ada76d672ffd86fb8367f49cc377a78141 /.github | |
parent | 55206eff33fd3af2b158b45dac840ba452e60dab (diff) |
CI: Use unity builds
On Linux (using shared library dependencies) this reduced the average
compilation time to about 50% of the originally needed time.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2545552c..833393ebc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,7 +56,7 @@ jobs: - name: Run CMake run: | cmake -G Ninja -S $GITHUB_WORKSPACE -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=$BUILD_TYPE $CMAKE_OPTIONS \ - $ADDITIONAL_CMAKE_OPTIONS $VCPKG_CMAKE_OPTIONS + -DCMAKE_UNITY_BUILD=ON $ADDITIONAL_CMAKE_OPTIONS $VCPKG_CMAKE_OPTIONS shell: bash - name: Build |