Skip to content

Commit 43e8a8b

Browse files
committed
测试:win7 支持
1 parent c722591 commit 43e8a8b

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/win7-test.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Win7 测试
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
CARGO_TERM_COLOR: always
8+
9+
jobs:
10+
x64:
11+
name: x64
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: 仓库初始化
16+
uses: actions/checkout@v3
17+
18+
- name: 安装 Rust
19+
run: |
20+
rustup toolchain install nightly
21+
rustup default nightly
22+
rustup component add rust-src --toolchain nightly-x86_64-pc-windows-msvc
23+
24+
- name: 编译
25+
run: |
26+
cargo build --release -Z build-std --target x86_64-win7-windows-msvc
27+
28+
- name: 上传文件
29+
uses: actions/upload-artifact@v4
30+
with:
31+
name: AppDataCleaner
32+
path: |
33+
target\x86_64-win7-windows-msvc\release\AppDataCleaner.exe
34+
target\x86_64-win7-windows-msvc\release\AppDataCleaner.pdb

0 commit comments

Comments
 (0)