forked from RuleWorld/bionetgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
73 lines (58 loc) · 3.04 KB
/
.appveyor.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
os: unstable
environment:
ftp_password:
secure: K22E4pSAup6/htlGmoSBMw==
matrix:
- builder: cygwin
platform: x86
- builder: cygwin
platform: x64
branches:
only:
- master
- release
notifications:
- provider: Slack
incoming_webhook:
secure: Ee9fFcoV1ABKmTKowaok5sUiOlRSGzCpWtwNIBFC0PpauqK+/mEt9KjeUXWsb7J7uFcAb1CKo7y/FFhHEJH6pWGMn5oV283uVnqZAB8Chac=
template:
"<{{buildUrl}}|{{projectName}} build {{status}}> on {{commitDate}}:_{{commitMessage}}_\n
Build: {{buildVersion}} (<{{commitUrl}}|{{commitId}}>) Author: {{commitAuthor}}\n
Download Executable Here:\n
<https://rawgit.com/RuleWorld/bionetgen/master/.BioNetGen_Beta.html|https://rawgit.com/RuleWorld/bionetgen/master/.BioNetGen_Beta.html>\n
Build Details:\n
<{{buildUrl}}|{{buildUrl}}>"
before_build:
- cmd: ECHO this is batch %APPVEYOR_ACCOUNT_NAME%
- uname -a
install:
- choco install curl
# - appveyor DownloadFile https://cygwin.com/setup-x86.exe -FileName C:\cygwin\setup-x86.exe
# - C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P mingw64-i686-gcc-g++ -P mingw64-x86_64-gcc-g++ -P autotools -P autoconf -P autoreconf -P automake -P bison -P libtool -P make -P gettext-devel -P intltool -P libiconv -P pkg-config
- if "%builder%"=="cygwin" ( if "%platform%"=="x86" ( C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P openssl-devel -P libiodbc-devel -P libiodbc2 -P odbc-mysql -P odbc-pgsql -P odbc-sqlite3 -P libmysqlclient-devel -P libsqlite3-devel -P libcrypt-devel -P zip))
- if "%builder%"=="cygwin" ( if "%platform%"=="x64" ( C:\cygwin64\setup-x86_64.exe -qnNdO -R C:/cygwin64 -s http://cygwin.mirror.constant.com -l C:/cygwin64/var/cache/setup -P openssl-devel -P libiodbc-devel -P libiodbc2 -P odbc-mysql -P odbc-pgsql -P odbc-sqlite3 -P libmysqlclient-devel -P libsqlite3-devel -P libcrypt-devel -P zip))
- if "%builder%"=="cygwin" ( if "%platform%"=="x86" ( set "PATH=C:\cygwin\bin;%PATH%" ; set "TRAVIS_OS_NAME=Win32" ))
- if "%builder%"=="cygwin" ( if "%platform%"=="x64" ( set "PATH=C:\cygwin64\bin;%PATH%" ; set "TRAVIS_OS_NAME=Win64" ))
- cmd: ECHO %PATH%
build_script:
- git clone https://github.com/ruleworld/nfsim.git
- git clone https://github.com/ruleworld/atomizer.git
- cd ./bng2
- mkdir bindir_nfsim_atomizer
- bash .get_nfsim_atomizer.sh ./bindir_nfsim_atomizer %platform% %ftp_password%
- cd ./Network3 && mkdir -p m4 && cd .. && perl make_dist.pl --build --validate --bindir ./bindir_nfsim_atomizer
- bash .dist_windows.sh %platform%
artifacts:
- path: './BioNetGen*.zip'
name: BioNetGen
- path: './BioNetGen*.html'
name: BioNetGenHTML
deploy:
provider: FTP
protocol: ftp
skip_cleanup: true
host: ftp.midcapsignals.com/BioNetGen_Beta/d_bionetgen/
username: roberthclark
password:
secure: K22E4pSAup6/htlGmoSBMw==
# artifact: /BioNetGen.*zip/