File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed
Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ name : PR Build Check
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+
7+ jobs :
8+ build-rust-macos-aarch64 :
9+ runs-on : macos-latest
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v4
13+
14+ - name : Setup Rust
15+ uses : dtolnay/rust-toolchain@stable
16+
17+ - name : Build Rust library
18+ working-directory : wrywebview
19+ run : cargo build --release --target aarch64-apple-darwin
20+
21+ build-rust-macos-x86_64 :
22+ runs-on : macos-15-intel
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v4
26+
27+ - name : Setup Rust
28+ uses : dtolnay/rust-toolchain@stable
29+
30+ - name : Build Rust library
31+ working-directory : wrywebview
32+ run : cargo build --release --target x86_64-apple-darwin
33+
34+ build-rust-linux :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - name : Checkout code
38+ uses : actions/checkout@v4
39+
40+ - name : Install dependencies
41+ run : |
42+ sudo apt-get update
43+ sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libxdo-dev
44+
45+ - name : Setup Rust
46+ uses : dtolnay/rust-toolchain@stable
47+
48+ - name : Build Rust library
49+ working-directory : wrywebview
50+ run : cargo build --release --target x86_64-unknown-linux-gnu
51+
52+ build-rust-windows :
53+ runs-on : windows-latest
54+ steps :
55+ - name : Checkout code
56+ uses : actions/checkout@v4
57+
58+ - name : Setup Rust
59+ uses : dtolnay/rust-toolchain@stable
60+
61+ - name : Build Rust library
62+ working-directory : wrywebview
63+ run : cargo build --release --target x86_64-pc-windows-msvc
You can’t perform that action at this time.
0 commit comments