mirror of
https://github.com/troglobit/finit.git
synced 2026-11-02 13:20:32 +00:00
.github: split distcheck into separate check + distcheck steps
- We want log files from check archived - We want to verify that checks can run from tarball Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
726f7ba229
commit
5d3cd05202
1 file changed
+4
-1
@@ -59,10 +59,13 @@ jobs:
|
|||||||
/tmp/sbin/finit -h
|
/tmp/sbin/finit -h
|
||||||
/tmp/sbin/initctl -h
|
/tmp/sbin/initctl -h
|
||||||
- name: Run Unit Tests
|
- name: Run Unit Tests
|
||||||
|
run: |
|
||||||
|
make check || (cat test/test-suite.log; false)
|
||||||
|
- name: Check dist tarball
|
||||||
run: |
|
run: |
|
||||||
ver=$(/tmp/sbin/initctl -V | awk '/Finit.*/ {print $2;}')
|
ver=$(/tmp/sbin/initctl -V | awk '/Finit.*/ {print $2;}')
|
||||||
dir=finit-$ver/_build/sub
|
dir=finit-$ver/_build/sub
|
||||||
make -j1 distcheck || (cat $dir/test/test-suite.log; false)
|
make distcheck || (cat $dir/test/test-suite.log; false)
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in new issue
Block a user