Skip to content

Commit

Permalink
Merge pull request #1049 from Luni-4/no-windows-console
Browse files Browse the repository at this point in the history
CI: Run a Windows application without starting the shell too
  • Loading branch information
hecrj authored Sep 20, 2021
2 parents 099981c + 7d96b7a commit 456a3f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 456a3f1

Please sign in to comment.