unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 651f91f2fcd2907c70f7681032e7bcf295240880 869 bytes (raw)
name: devel/appveyor.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 
#!/bin/bash
set -xeuo pipefail
shopt -s lastpipe

# Test script for the AppVeyor CI service.
# Ran from ../appveyor.yml.
# Runs under CygWin bash.

# Reset PATH variable inherited from Windows environment
export PATH=/usr/local/bin:/usr/bin:/bin

# Set correct working directory
cd "$(dirname "$0")"/..

# Download talloc
test -f talloc-2.1.10.tar.gz || wget https://www.samba.org/ftp/talloc/talloc-2.1.10.tar.gz
rm -rf talloc-2.1.10
tar zxvf talloc-2.1.10.tar.gz

# Build/install talloc
(
	cd talloc-2.1.10
	./configure --prefix=/usr --disable-python
	make || true # fails at linking - fix problem and resume build
	ln -s cygtalloc-2.dll bin/default/talloc.dll
	ln -s cygtalloc-2.dll bin/default/cygtalloc.dll
	make
	make install
)

./configure

# Windows PE loader doesn't understand Cygwin symlinks
cp -L /usr/lib/cygtalloc.dll cygtalloc-2.dll

make
make test

"$@"

debug log:

solving 651f91f2 ...
found 651f91f2 in https://yhetil.org/notmuch/20170822224339.22601-9-notmuch@thecybershadow.net/

applying [1/1] https://yhetil.org/notmuch/20170822224339.22601-9-notmuch@thecybershadow.net/
diff --git a/devel/appveyor.sh b/devel/appveyor.sh
new file mode 100644
index 00000000..651f91f2

Checking patch devel/appveyor.sh...
Applied patch devel/appveyor.sh cleanly.

index at:
100644 651f91f2fcd2907c70f7681032e7bcf295240880	devel/appveyor.sh

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).