Skip to content

Commit

Permalink
Merge pull request #77 from yeastplume/build_debug
Browse files Browse the repository at this point in the history
Build debug release target
  • Loading branch information
yeastplume committed Jan 18, 2024
2 parents d90c3b2 + 2b77216 commit 3f38c32
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,30 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Rust version
run: rustup --version
- name: Build
run: cargo build --release
- name: Archive
- name: Build
run: cargo build
- name: Archive release
uses: vimtor/action-zip@v1
with:
files: target/release/grin-gui.exe
dest: target/release/grin-gui-${{ github.ref_name }}-win-x86_64.zip
- name: Create Checksum
- name: Archive debug
uses: vimtor/action-zip@v1
with:
files: target/debug/grin-gui.exe
dest: target/debug/grin-gui-${{ github.ref_name }}-win-x86_64-debug.zip
- name: Create Checksum release
working-directory: target/release
shell: pwsh
run: get-filehash -algorithm sha256 grin-gui-${{ github.ref_name }}-win-x86_64.zip | Format-List |  Out-String | ForEach-Object { $_.Trim() } > grin-gui-${{ github.ref_name }}-win-x86_64-sha256sum.txt
- name: Create Checksum debug
working-directory: target/debug
shell: pwsh
run: get-filehash -algorithm sha256 grin-gui-${{ github.ref_name }}-win-x86_64-debug.zip | Format-List |  Out-String | ForEach-Object { $_.Trim() } > grin-gui-${{ github.ref_name }}-win-x86_64-debug-sha256sum.txt
- name: Install cargo-wix
run: cargo install cargo-wix
- name: Run cargo-wix
Expand All @@ -77,6 +90,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
target/debug/grin-gui-${{ github.ref_name }}-win-x86_64-debug.zip
target/debug/grin-gui-${{ github.ref_name }}-win-x86_64-debug-sha256sum.txt
target/release/grin-gui-${{ github.ref_name }}-win-x86_64.zip
target/release/grin-gui-${{ github.ref_name }}-win-x86_64-sha256sum.txt
target/wix/grin-gui-${{ github.ref_name }}-win-x86_64.msi
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grin-gui"
version = "0.1.0-alpha.2"
version = "0.1.0-alpha.3"
authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
description = "GUI wrapping grin and grin-wallet. Simple, private and scalable cryptocurrency implementation based on the MimbleWimble chain format."
license = "Apache-2.0"
Expand All @@ -16,8 +16,8 @@ no-self-update = ["grin-gui-core/no-self-update"]
debug = ["iced/debug"]

[dependencies]
grin-gui-core = { version = "0.1.0-alpha.1", path = "crates/core", features = ["wgpu"]}
grin-gui-widgets = { version = "0.1.0-alpha.1", path = "crates/widgets" }
grin-gui-core = { version = "0.1.0-alpha.3", path = "crates/core", features = ["wgpu"]}
grin-gui-widgets = { version = "0.1.0-alpha.3", path = "crates/widgets" }

iced = { version = "0.10", features = ["canvas", "tokio"] }
iced_futures = { version = "0.7", features = ["async-std"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "grin-gui-core"
description = "Core GUI library for Grin GUI"
version = "0.1.0-alpha.2"
version = "0.1.0-alpha.3"
authors = ["Yeastplume", "Casper Rogild Storm"]
license = "GPL-3.0"
homepage = "https://github.com/mimblewimble/grin-gui"
Expand Down
2 changes: 1 addition & 1 deletion crates/widgets/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "grin-gui-widgets"
description = "Widget library for Grin Core GUI"
version = "0.1.0-alpha.2"
version = "0.1.0-alpha.3"
authors = ["Yeastplume", "Casper Rogild Storm", "tarkah <admin@tarkah.dev>"]
license = "GPL-3.0"
homepage = "https://github.com/mimblewimble/grin-gui"
Expand Down

0 comments on commit 3f38c32

Please sign in to comment.