Skip to content

Commit

Permalink
build for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
frosklis committed Mar 17, 2021
1 parent 841af7c commit c72e977
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,9 @@ before_deploy: |
# Create the releases
# Macs
sudo snap install tree
tree /home/travis/build/frosklis/dinero-rs/target/
cargo build --release --target x86_64-apple-darwin
tree /home/travis/build/frosklis/dinero-rs/target/
# cargo build --release --target x86_64-apple-darwin
# New macs
cargo build --release --target aarch64-apple-darwin
tree /home/travis/build/frosklis/dinero-rs/target/
# cargo build --release --target aarch64-apple-darwin
# Raspberry
# cargo build --release --target armv7-unknown-linux-gnueabihf
# Linux ARM
Expand All @@ -129,13 +126,13 @@ before_deploy: |
# cargo build --release --target x86_64-unknown-linux-gnu
# Windows
cargo build --release --target x86_64-pc-windows-gnu
tree /home/travis/build/frosklis/dinero-rs/target/
tree /home/travis/build/frosklis/dinero-rs/target/ -L 3
# cargo build --release --target x86_64-pc-windows-msvc
# Package everything
tar -czf dinero-mac-x86_64.tar.gz /home/travis/build/frosklis/dinero-rs/target/x86_64-apple-darwin/release/dinero
tar -czf dinero-mac-aarch64.tar.gz /home/travis/build/frosklis/dinero-rs/target/aarch64-apple-darwin/release/dinero
tar -czf dinero-windows-x86_64.tar.gz /home/travis/build/frosklis/dinero-rs/target/x86_64-pc-windows-gnu/release/dinero
# tar -czf dinero-mac-x86_64.tar.gz /home/travis/build/frosklis/dinero-rs/target/x86_64-apple-darwin/release/dinero
# tar -czf dinero-mac-aarch64.tar.gz /home/travis/build/frosklis/dinero-rs/target/aarch64-apple-darwin/release/dinero
tar -czf dinero-windows-x86_64.tar.gz /home/travis/build/frosklis/dinero-rs/target/x86_64-pc-windows-gnu/release/dinero.exe
fi
deploy:
Expand Down

0 comments on commit c72e977

Please sign in to comment.