File tree Expand file tree Collapse file tree 4 files changed +48
-12
lines changed
Expand file tree Collapse file tree 4 files changed +48
-12
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,15 @@ rustflags = [
1212 " link-args=/MANIFEST:EMBED /CETCOMPAT /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib" ,
1313]
1414
15+ [target .aarch64-pc-windows-msvc ]
16+ rustflags = [
17+ " -C" ,
18+ " target-feature=+crt-static" ,
19+ " -C" ,
20+ " control-flow-guard" ,
21+ " -C" ,
22+ " link-args=/MANIFEST:EMBED /NODEFAULTLIB:libucrt.lib /DEFAULTLIB:ucrt.lib" ,
23+ ]
24+
1525[profile .release ]
1626lto = true
Original file line number Diff line number Diff line change 99 CARGO_TERM_COLOR : always
1010
1111jobs :
12- build :
13-
14- runs-on : windows-latest
15-
16- permissions :
17- contents : write
1812
13+ Build :
14+ strategy :
15+ matrix :
16+ include :
17+ - architecture : x86_64
18+ runner : windows-latest
19+ - architecture : aarch64
20+ runner : windows-11-arm
21+ name : Build (${{ matrix.architecture }})
22+ runs-on : ${{ matrix.runner }}
1923 steps :
2024 - name : Checkout
21- uses : actions/checkout@v4
25+ uses : actions/checkout@v5
2226 - name : Build
2327 run : cargo build --release
2428 - name : Test
2529 run : cargo run --release
30+ - name : Rename binary
31+ run : |
32+ cd target\release
33+ ren Windows11_SupportFeed_to_HTML.exe Windows11_SupportFeed_to_HTML_${{ matrix.architecture }}.exe
34+ - name : Upload artifact
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : ${{ matrix.architecture }}
38+ path : target/release/Windows11_SupportFeed_to_HTML_${{ matrix.architecture }}.exe
39+
40+ Release :
41+ needs : Build
42+ runs-on : windows-latest
43+ permissions :
44+ contents : write
45+ steps :
46+ - name : Download artifacts
47+ uses : actions/download-artifact@v5
48+ with :
49+ merge-multiple : true
2650 - name : Release
2751 uses : softprops/action-gh-release@v2
2852 with :
29- files : target/release/Windows11_SupportFeed_to_HTML.exe
53+ files : |
54+ Windows11_SupportFeed_to_HTML_aarch64.exe
55+ Windows11_SupportFeed_to_HTML_x86_64.exe
Original file line number Diff line number Diff line change 11[package ]
22name = " Win11SupportFeed"
3- version = " 2025.9.7 "
3+ version = " 2025.9.10 "
44edition = " 2024"
55authors = [" cjee21" ]
66repository = " https://github.com/cjee21/Win11SupportFeed"
You can’t perform that action at this time.
0 commit comments