.github: simplify and fix install path

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-09-23 09:32:38 +02:00
1 parent be8c89ec00
commit a9fd0cbf02
1 file changed
+11 -11
+11 -11
View File
@@ -47,19 +47,19 @@ jobs:
make V=1 make V=1
- name: Install to ~/tmp and Inspect - name: Install to ~/tmp and Inspect
run: | run: |
DESTDIR=~/tmp make install-strip DESTDIR=/tmp make install-strip
tree ~/tmp tree /tmp
ldd ~/tmp/sbin/finit ldd /tmp/sbin/finit
size ~/tmp/sbin/finit size /tmp/sbin/finit
ldd ~/tmp/sbin/initctl ldd /tmp/sbin/initctl
size ~/tmp/sbin/initctl size /tmp/sbin/initctl
ldd ~/tmp/sbin/reboot ldd /tmp/sbin/reboot
size ~/tmp/sbin/reboot size /tmp/sbin/reboot
LD_LIBRARY_PATH=~/tmp/lib /tmp/finit/sbin/finit -h /tmp/finit/sbin/finit -h
LD_LIBRARY_PATH=~/tmp/lib /tmp/finit/sbin/initctl -h /tmp/finit/sbin/initctl -h
- name: Run Unit Tests - name: Run Unit Tests
run: | 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 - name: Upload Test Results
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with: