mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
.github: simplify and fix install path
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+11
-11
@@ -47,19 +47,19 @@ jobs:
|
||||
make V=1
|
||||
- name: Install to ~/tmp and Inspect
|
||||
run: |
|
||||
DESTDIR=~/tmp make install-strip
|
||||
tree ~/tmp
|
||||
ldd ~/tmp/sbin/finit
|
||||
size ~/tmp/sbin/finit
|
||||
ldd ~/tmp/sbin/initctl
|
||||
size ~/tmp/sbin/initctl
|
||||
ldd ~/tmp/sbin/reboot
|
||||
size ~/tmp/sbin/reboot
|
||||
LD_LIBRARY_PATH=~/tmp/lib /tmp/finit/sbin/finit -h
|
||||
LD_LIBRARY_PATH=~/tmp/lib /tmp/finit/sbin/initctl -h
|
||||
DESTDIR=/tmp make install-strip
|
||||
tree /tmp
|
||||
ldd /tmp/sbin/finit
|
||||
size /tmp/sbin/finit
|
||||
ldd /tmp/sbin/initctl
|
||||
size /tmp/sbin/initctl
|
||||
ldd /tmp/sbin/reboot
|
||||
size /tmp/sbin/reboot
|
||||
/tmp/finit/sbin/finit -h
|
||||
/tmp/finit/sbin/initctl -h
|
||||
- name: Run Unit Tests
|
||||
run: |
|
||||
LD_LIBRARY_PATH=~/tmp/lib make check || (cat test/test-suite.log; false)
|
||||
make check || (cat test/test-suite.log; false)
|
||||
- name: Upload Test Results
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user