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 de9f4e8 commit d0ad32f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,10 @@ jobs:
libudev-dev
- name: Cargo build
run: cargo build -r --profile release-lto --features ega
run: cargo build --profile release-lto --features ega

- 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: Copy files into install dir
run: cp LICENSE README.md CHANGELOG.md CREDITS.md target/release-lto/martypc install

- name: Rename install directory
run: mv install martypc
Expand Down
16 changes: 5 additions & 11 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fetch-depth: 0

- name: Cargo build
run: cargo build -r --features ega
run: cargo build --profile release-lto --features ega

- name: Copy files into install dir
run: cp README.md target/release/martypc install
run: cp LICENSE README.md CHANGELOG.md CREDITS.md target/release-lto/martypc install

- name: Rename install directory
run: mv install martypc
Expand Down Expand Up @@ -55,16 +55,10 @@ jobs:
fetch-depth: 0

- name: Cargo build
run: cargo build -r --profile release-lto --features ega
run: cargo build --profile release-lto --features ega

- 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: Copy files into install dir
run: cp LICENSE README.md CHANGELOG.md CREDITS.md target/release-lto/martypc install

- name: Rename install directory
run: mv install martypc
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,10 @@ jobs:
fetch-depth: 0

- name: Cargo build
run: cargo build -r --profile release-lto --features ega
run: cargo build --profile release-lto --features ega

- 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: Copy files into install dir
run: cp LICENSE README.md CHANGELOG.md CREDITS.md target/release-lto/martypc install

- name: Rename install directory
run: mv install martypc
Expand Down

0 comments on commit d0ad32f

Please sign in to comment.