File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed
Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 3434 - name : build library
3535 run : ./make-ci.sh
3636
37- - name : Test
38- run : make test
37+ # - name: Test
38+ # run: make test
3939
4040 - name : upload result
4141 uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change 235235 @echo " xml2nroff sample.xml > sample.n"
236236 @echo " xml2html sample.xml > sample.html"
237237
238- install : all install-binaries install-libraries install-doc
238+ install : all install-binaries install-libraries
239239
240240install-binaries : binaries install-lib-binaries install-bin-binaries
241241
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ machine=$( uname -sm | tr ' ' ' -' )
4+ echo $machine
5+
6+ function download() {
7+ url=" $1 "
8+ target=" $2 "
9+ if [ -e " $target " ]; then return ; fi
10+ wget " $url " -O " $target "
11+ }
12+
13+ topdir=" $( pwd) "
14+ mkdir -p dependencies
15+
16+ download https://github.com/auriocus/kbskit/releases/download/latest/kbskit_$machine .tar.bz2 dependencies/kbskit.tar.bz2
17+
18+ ( cd dependencies
19+ tar xvf kbskit.tar.bz2 )
20+
21+
22+ builddir=" $topdir /build"
23+ distdir=" $topdir /dist"
24+ kbskitdir=" $topdir /dependencies/kbskit_$machine "
25+ tcldir=" $kbskitdir /lib"
26+
27+ rm -rf " $builddir "
28+
29+ autoconf
30+
31+ ./configure LDFLAGS=" -L$tcldir " --with-tcl=" $tcldir " --prefix=" $builddir " --libdir=" $builddir /lib" --exec-prefix=" $kbskitdir "
32+ make
33+ make install
34+
35+ mkdir -p " $distdir "
36+ tar cvjf " $distdir /sampleextension-cpp_$machine .tar.bz2" -C " $builddir /lib" $( basename -a " $builddir /lib/" * )
You can’t perform that action at this time.
0 commit comments