File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ name : " Nightly Check"
3+
4+ on :
5+ schedule :
6+ - cron : ' 0 3 * * *'
7+ workflow_dispatch :
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+ runs-on : " ubuntu-22.04"
15+ env :
16+ RUSTFLAGS : " -D warnings"
17+ strategy :
18+ matrix :
19+ api_version : ["4-1", "4-2", "4-3", "4-4"]
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v3
24+ - name : Setup Cache
25+ uses : Swatinem/rust-cache@v2
26+ with :
27+ cache-on-failure : true
28+ - name : Update Dependencies
29+ run : |
30+ cargo update
31+ - name : Build Debug
32+ run : |
33+ set -o pipefail
34+ cargo build --workspace --features "godot/api-${{ matrix.api_version}}" --all-features --message-format json
35+ - name : Build Release
36+ run : |
37+ set -o pipefail
38+ cargo build --release --workspace --features "godot/api-${{ matrix.api_version}}" --all-features --message-format json
You can’t perform that action at this time.
0 commit comments