mirror of
https://github.com/troglobit/finit.git
synced 2026-09-30 21:13:01 +07:00
.github: detect Finit version and figure out build dir on failure
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -60,7 +60,9 @@ jobs:
|
||||
/tmp/sbin/initctl -h
|
||||
- name: Run Unit Tests
|
||||
run: |
|
||||
make -j1 distcheck || (ls -l test; ls -l .; cat finit-4.3-dev/_build/sub/test/start-stop-fserv.log; echo "test-suite.log ================================================================"; cat test/test-suite.log; cat finit-4.3-dev/_build/sub/test/test-suite.log; false)
|
||||
ver=$(/tmp/sbin/initctl -V | awk '/Finit.*/ {print $2;}')
|
||||
dir=finit-$ver/_build/sub
|
||||
make -j1 distcheck || (cat $dir/test/test-suite.log; false)
|
||||
- name: Upload Test Results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user