File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,34 @@ name: Rust
22
33on :
44 push :
5- branches : [ master ]
5+ branches : ["**" ]
66 pull_request :
7- branches : [ master ]
7+ branches : ["**" ]
88
99env :
1010 CARGO_TERM_COLOR : always
1111
1212jobs :
1313 build :
14-
15- runs-on : macos-11.0
16-
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ matrix :
17+ os : [macos-11.0, macos-10.15]
1718 steps :
1819 - uses : actions/checkout@v2
1920 - name : Build
2021 run : cargo build --verbose
2122 - name : Run tests
2223 run : cargo test --verbose
24+ build_result :
25+ name : homu build finished
26+ runs-on : ubuntu-latest
27+ needs :
28+ - " build"
29+ steps :
30+ - name : Mark the job as successful
31+ run : exit 0
32+ if : success()
33+ - name : Mark the job as unsuccessful
34+ run : exit 1
35+ if : " !success()"
You can’t perform that action at this time.
0 commit comments