From de9f4e88a07b857977f17346f5fd4870482fd9a8 Mon Sep 17 00:00:00 2001 From: dbalsom Date: Sat, 9 Mar 2024 10:35:00 -0500 Subject: [PATCH] adjust workflow builds to add more files and enable lto --- .github/workflows/linux.yml | 10 ++++++++-- .github/workflows/macos.yml | 10 ++++++++-- .github/workflows/windows.yml | 10 ++++++++-- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b243563e..124c663b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -27,11 +27,17 @@ jobs: libudev-dev - name: Cargo build - run: cargo build -r --features ega + run: cargo build -r --profile release-lto --features ega - - name: Copy files into install dir + - name: Copy README into install dir run: cp README.md target/release/martypc install + - name: Copy CHANGELOG into install dir + run: cp CHANGELOG.md target/release/martypc install + + - name: Copy CREDITS into install dir + run: cp CREDITS.md target/release/martypc install + - name: Rename install directory run: mv install martypc diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 23247538..fa2ea9c1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -55,11 +55,17 @@ jobs: fetch-depth: 0 - name: Cargo build - run: cargo build -r --features ega + run: cargo build -r --profile release-lto --features ega - - name: Copy files into install dir + - name: Copy README into install dir run: cp README.md target/release/martypc install + - name: Copy CHANGELOG into install dir + run: cp CHANGELOG.md target/release/martypc install + + - name: Copy CREDITS into install dir + run: cp CREDITS.md target/release/martypc install + - name: Rename install directory run: mv install martypc diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 48ceeaa3..44412d10 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,11 +39,17 @@ jobs: fetch-depth: 0 - name: Cargo build - run: cargo build -r --features ega + run: cargo build -r --profile release-lto --features ega - - name: Copy files into install dir + - name: Copy README into install dir run: cp README.md target/release/martypc install + - name: Copy CHANGELOG into install dir + run: cp CHANGELOG.md target/release/martypc install + + - name: Copy CREDITS into install dir + run: cp CREDITS.md target/release/martypc install + - name: Rename install directory run: mv install martypc