File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11root = true
22
33[* ]
4- indent_style = space
4+ indent_style = tab
55indent_size = 4
66end_of_line = lf
77charset = utf-8
88trim_trailing_whitespace = false
99insert_final_newline = true
1010
11+ [* .{yml,yaml} ]
12+ indent_style = space
13+ indent_size = 2
Original file line number Diff line number Diff line change 1+ name : " Build"
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ workflow_dispatch :
8+
9+ release :
10+ types : [published]
11+
12+ jobs :
13+ build :
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ platform :
18+ - ubuntu-22.04
19+ - windows-latest
20+ - macos-latest
21+
22+ runs-on : ${{ matrix.platform }}
23+ steps :
24+ - uses : actions/checkout@v4
25+
26+ - name : Cache Rust dependencies
27+ uses : actions/cache@v4
28+ with :
29+ path : |
30+ ~/.cargo/registry
31+ ~/.cargo/git
32+ target
33+ key : ${{ matrix.platform }}-cargo-${{ hashFiles('**/Cargo.lock') }}
34+ restore-keys : |
35+ ${{ runner.os }}-cargo-
36+
37+ - name : Install Rust stable
38+ uses : dtolnay/rust-toolchain@stable
39+ with :
40+ targets : ${{ (matrix.platform == 'macos-latest') && 'aarch64-apple-darwin' || '' }}
41+
42+ - name : Setup Windows dependencies
43+ if : runner.os == 'Windows'
44+ run : choco install strawberryperl make --no-progress
45+
46+ - name : Setup MSVC environment
47+ if : runner.os == 'Windows'
48+ uses : ilammy/msvc-dev-cmd@v1
49+
50+ - name : Build
51+ run : cargo build --bin plumeimpactor --release
You can’t perform that action at this time.
0 commit comments