File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 8
8
before_install :
9
9
- sudo apt-get update
10
10
- sudo apt-get install mingw-w64
11
- - mkdir -p ~/.cargo/ && echo -e "[target.x86_64-pc-windows-gnu]\nlinker = \"/usr/bin/x86_64-w64-mingw32-gcc\"" >> ~/.cargo/config
11
+ - mkdir -p ~/.cargo/ && echo -e "[target.x86_64-pc-windows-gnu]\nlinker = \"/usr/bin/x86_64-w64-mingw32-gcc\"" > ~/.cargo/config
12
12
13
13
script :
14
- - mkdir -p target/x86_64-unknown-linux-musl/release/ && mkdir -p target/x86_64-pc-windows-gnu/release/
15
14
- cargo test
16
15
- rustup target add x86_64-unknown-linux-musl
17
16
- rustup target add x86_64-pc-windows-gnu
18
17
- cargo build --release --target=x86_64-unknown-linux-musl
19
18
- mv target/x86_64-unknown-linux-musl/release/{cli,geometrify-linux64}
20
19
- cargo build --release --target=x86_64-pc-windows-gnu
21
- - mv target/x86_64-pc-windows-gnu/release/{cli,geometrify-win64}
20
+ - mv target/x86_64-pc-windows-gnu/release/{cli.exe ,geometrify-win64.exe }
22
21
23
22
deploy :
24
23
provider : releases
@@ -27,4 +26,4 @@ deploy:
27
26
secure : $apikey
28
27
file :
29
28
- " target/x86_64-unknown-linux-musl/release/geometrify-linux64"
30
- - " target/x86_64-pc-windows-gnu/release/geometrify-win64"
29
+ - " target/x86_64-pc-windows-gnu/release/geometrify-win64.exe "
You can’t perform that action at this time.
0 commit comments