File tree Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ function build_mod()
77
88function run_tests()
99{
10- make check || exit 2
10+ make check > /tmp/simplefs-out || (cat /tmp/simplefs-out ; exit 2)
1111}
1212
1313build_mod
Original file line number Diff line number Diff line change 11name : main
22
3- on :
4- push :
5- branches : [ main ]
6- pull_request :
7- branches : [ main ]
8-
9- workflow_dispatch :
3+ on : [push, pull_request]
104
115jobs :
12- validate :
6+ simplefs :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ - name : install-dependencies
11+ run : |
12+ sudo apt-get install build-essential
13+ - name : automated test
14+ run : |
15+ .ci/build-n-run.sh
16+ shell : bash
17+
18+ coding_style :
1319 runs-on : ubuntu-latest
1420 steps :
1521 - name : checkout code
1622 uses : actions/checkout@v4
17- - name : validate coding style and functionality
23+ - name : coding convention
1824 run : |
1925 sudo apt-get install -q -y clang-format-12
2026 .ci/check-newline.sh
2127 .ci/check-format.sh
22- .ci/build-n-run.sh
2328 shell : bash
You can’t perform that action at this time.
0 commit comments