File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ sudo : required
1
2
language : rust
2
3
rust :
3
4
- nightly
4
5
6
+ before_install :
7
+ - sudo apt-get update
8
+ - sudo apt-get install mingw-w64
9
+
5
10
script :
6
11
- cargo test
7
12
- rustup target add x86_64-unknown-linux-musl
13
+ - rustup target add x86_64-pc-windows-gnu
8
14
- cargo build --release --target=x86_64-unknown-linux-musl
15
+ - mv target/x86_64-unknown-linux-musl/release/{cli,geometrify-linux64}
16
+ - cargo build --release --target=x86_64-pc-windows-gnu
17
+ - mv target/x86_64-pc-windows-gnu/release/{cli,geometrify-win64}
9
18
10
19
deploy :
11
20
provider : releases
12
21
skip_cleanup : true
13
22
api_key :
14
23
secure : $apikey
15
- file : " target/x86_64-unknown-linux-musl/release/cli"
24
+ file :
25
+ - " target/x86_64-unknown-linux-musl/release/geometrify-linux64"
26
+ - " target/x86_64-pc-windows-gnu/release/geometrify-win64"
You can’t perform that action at this time.
0 commit comments