From 2448dba4c3c6b521c02f41f7b12b6e65197f1ea8 Mon Sep 17 00:00:00 2001 From: widberg Date: Tue, 31 Oct 2023 11:39:51 -0400 Subject: [PATCH] Try building with LTO on CI --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a2f854..42367a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: if: matrix.name == 'linux' - name: Build - run: cargo build --release --locked --bins + run: cmake -E env CARGO_PROFILE_RELEASE_LTO=true cargo build --release --locked --bins - name: Archive Artifacts uses: actions/upload-artifact@v3