Skip to content

Commit

Permalink
adjust workflow builds to add more files and enable lto
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalsom committed Mar 9, 2024
1 parent 565ff51 commit de9f4e8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit de9f4e8

Please sign in to comment.