summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-09-20 14:08:37 +0700
committerLibravatar GitHub <noreply@github.com>2021-09-20 14:08:37 +0700
commit456a3f15e4226cc781a8825bddaaf066476d4351 (patch)
tree602055dad050ea120b3b317f48771b2c73e5f743
parent099981cfc2f61a1f37e84100592d65babb94fb82 (diff)
parent7d96b7a7993166feb1cc62471cd3600e2d81f487 (diff)
downloadiced-456a3f15e4226cc781a8825bddaaf066476d4351.tar.gz
iced-456a3f15e4226cc781a8825bddaaf066476d4351.tar.bz2
iced-456a3f15e4226cc781a8825bddaaf066476d4351.zip
Merge pull request #1049 from Luni-4/no-windows-console
CI: Run a Windows application without starting the shell too
-rw-r--r--.github/workflows/build.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a00e2a22..25909870 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -51,6 +51,9 @@ jobs:
mkdir .cargo
echo '[target.x86_64-pc-windows-msvc]' >> .cargo/config
echo 'rustflags = ["-Ctarget-feature=+crt-static"]' >> .cargo/config
+ - name: Run the application without starting the shell
+ run: |
+ sed -i '1 i\#![windows_subsystem = \"windows\"]' examples/todos/src/main.rs
- name: Build todos binary
run: cargo build --verbose --release --package todos
- name: Archive todos binary