@@ -44,16 +44,16 @@ jobs:
44
44
run : rustup show
45
45
46
46
- name : Build Linux tool
47
- run : cargo build --target x86_64-unknown-linux-gnu -p inputmodule-control
47
+ run : cargo build --release -- target x86_64-unknown-linux-gnu -p inputmodule-control
48
48
49
49
- name : Check if Linux tool can start
50
- run : cargo run --target x86_64-unknown-linux-gnu -p inputmodule-control -- --help
50
+ run : cargo run --release -- target x86_64-unknown-linux-gnu -p inputmodule-control -- --help
51
51
52
52
- name : Upload Linux tool
53
53
uses : actions/upload-artifact@v3
54
54
with :
55
55
name : inputmodule-control
56
- path : target/x86_64-unknown-linux-gnu/debug /inputmodule-control
56
+ path : target/x86_64-unknown-linux-gnu/release /inputmodule-control
57
57
58
58
build-windows :
59
59
name : Build Windows
@@ -65,16 +65,16 @@ jobs:
65
65
run : rustup show
66
66
67
67
- name : Build Windows tool
68
- run : cargo build --target x86_64-pc-windows-msvc -p inputmodule-control
68
+ run : cargo build --release -- target x86_64-pc-windows-msvc -p inputmodule-control
69
69
70
70
- name : Check if Windows tool can start
71
- run : cargo run --target x86_64-pc-windows-msvc -p inputmodule-control -- --help
71
+ run : cargo run --release -- target x86_64-pc-windows-msvc -p inputmodule-control -- --help
72
72
73
73
- name : Upload Windows App
74
74
uses : actions/upload-artifact@v3
75
75
with :
76
76
name : inputmodule-control.exe
77
- path : target/x86_64-pc-windows-msvc/debug /inputmodule-control.exe
77
+ path : target/x86_64-pc-windows-msvc/release /inputmodule-control.exe
78
78
79
79
lints :
80
80
name : Lints
0 commit comments