File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : windows-build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' **'
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ defaults :
12
+ run :
13
+ # necessary for windows
14
+ shell : bash
15
+
16
+ jobs :
17
+ build :
18
+ runs-on : windows-latest
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+
22
+ - name : Build
23
+ run : cargo build --release --verbose
24
+
25
+ - name : Build Python
26
+ run : |
27
+ python3 -m pip install maturin
28
+ python3 -m maturin build -r
29
+
30
+ - name : List
31
+ run : ls ./target/release
32
+
33
+ - name : Move the artifact
34
+ run : |
35
+ mkdir -p ./artifacts
36
+ 7z a ccrs-x86_64-pc-windows-msvc.zip ./target/release/ccrs.exe
37
+ sha256sum ccrs-x86_64-pc-windows-msvc.zip > ccrs-x86_64-pc-windows-msvc.zip.sha256
38
+
39
+ - name : Archive artifact
40
+ uses : actions/upload-artifact@v4
41
+ with :
42
+ name : artifacts-ccrs-x86_64-pc-windows-msvc
43
+ path : |
44
+ *.zip
45
+ *.sha256
You can’t perform that action at this time.
0 commit comments