build: Disable LTO when using MSVC. (#7003)

This commit is contained in:
Steveice10 2023-09-23 15:00:16 -07:00 committed by GitHub
parent d19fe9aa4c
commit d0b8974845
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 6 deletions

View file

@ -145,11 +145,6 @@ jobs:
key: ${{ runner.os }}-${{ matrix.target }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ matrix.target }}-
- name: Increase Pagefile size
uses: al-cheb/configure-pagefile-action@v1.2
with:
minimum-size: 2GB
maximum-size: 6GB
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
if: ${{ matrix.target == 'msvc' }}