Skip to content

Commit e4f8627

Browse files
committed
Disable tests in CI (there are none so far)
1 parent cf084bc commit e4f8627

File tree

3 files changed

+39
-3
lines changed

3 files changed

+39
-3
lines changed

.github/workflows/build_and_release_xplat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
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

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ doc:
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

240240
install-binaries: binaries install-lib-binaries install-bin-binaries
241241

make-ci.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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/"*)

0 commit comments

Comments
 (0)