File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on : [release]
2+
3+ name : Build on Release
4+
5+ jobs :
6+ mac_arm :
7+ name : Mac ARM
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : actions-rs/toolchain@v1
12+ with :
13+ toolchain : stable
14+ target : aarch64-apple-darwin
15+ override : true
16+ - uses : actions-rs/cargo@v1
17+ with :
18+ use-cross : true
19+ command : build
20+ args : --target aarch64-apple-darwin
21+ mac_intel :
22+ name : Mac Intel
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@v2
26+ - uses : actions-rs/toolchain@v1
27+ with :
28+ toolchain : stable
29+ target : x86_64-apple-darwin
30+ override : true
31+ - uses : actions-rs/cargo@v1
32+ with :
33+ use-cross : true
34+ command : build
35+ args : --target x86_64-apple-darwin
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ license = "MIT"
1212name = " lib"
1313path = " src/lib.rs"
1414
15+ [[bin ]]
16+ name = " site-monitor"
17+ path = " src/main.rs"
18+
1519[dependencies ]
1620clap = { version = " 4.4.4" , features = [" derive" ] }
1721log = " 0.4.20"
You can’t perform that action at this time.
0 commit comments