diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e1711931e4..0312ef5de9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -100,13 +100,13 @@ jobs: key: libs-x86-macos-13-${{ hashFiles('Makefile', 'CMakeLists.txt', 'libs/CMakeLists.txt') }} - name: Build Debug Runtime run: | - make configure arch=x86-64 config=debug + make configure lto=yes arch=x86-64 config=debug make build config=debug - name: Test with Debug Runtime run: make test-ci config=debug usedebugger=lldb - name: Build Release Runtime run: | - make configure arch=x86-64 config=release + make configure lto=yes arch=x86-64 config=release make build config=release - name: Test with Release Runtime run: make test-ci config=release usedebugger=lldb @@ -135,13 +135,13 @@ jobs: key: libs-x86-macos-12-${{ hashFiles('Makefile', 'CMakeLists.txt', 'libs/CMakeLists.txt') }} - name: Build Debug Runtime run: | - make configure arch=x86-64 config=debug + make configure lto=yes arch=x86-64 config=debug make build config=debug - name: Test with Debug Runtime run: make test-ci config=debug - name: Build Release Runtime run: | - make configure arch=x86-64 config=release + make configure lto=yes arch=x86-64 config=release make build config=release - name: Test with Release Runtime run: make test-ci config=release