mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
.github: split build in a regular build+test and weekly distcheck
This to save time during regular pushes and pull requests, the tests run from distcheck take a long time, and they're not getting fewer. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
5b41c6e327
commit
40dcc5541b
2 files changed
+48
-6
No files matched your search
@@ -40,7 +40,7 @@ jobs:
|
||||
--enable-x11-common-plugin --with-watchdog --with-keventd
|
||||
make clean
|
||||
make V=1
|
||||
- name: Install to ~/tmp
|
||||
- name: Install to /tmp
|
||||
run: |
|
||||
DESTDIR=/tmp make install-strip
|
||||
tree /tmp || true
|
||||
@@ -59,11 +59,6 @@ jobs:
|
||||
- name: Run Unit Tests
|
||||
run: |
|
||||
make check || (cat test/test-suite.log; false)
|
||||
- name: Check dist tarball
|
||||
run: |
|
||||
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@v3
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user