File tree Expand file tree Collapse file tree 3 files changed +40
-3
lines changed
Expand file tree Collapse file tree 3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change @@ -103,4 +103,18 @@ script:
103103 # build & run tests
104104 - cabal new-build -w ${HC} ${TEST} ${BENCH} all
105105
106+ before_deploy :
107+ - cp $(find dist-newstyle/ -type f -name threadscope -exec test -x {} \; -print) threadscope.$TRAVIS_OS_NAME
108+ - gzip -f threadscope.$TRAVIS_OS_NAME
109+
110+ deploy :
111+ provider : releases
112+ api_key :
113+ secure : " CLdDbxzqQRTU6wMRqyMutoprbgr8o6fQfIYZc7DBkbRi1r6bOpJl/2Bmob6FYC1XhMsdeBhZfLy0a0MqcU4LNbToLtR8yKN+SvmfEUQn3novk69vfI5KipFqLLeduN4oHgGXSdjIdck3nF/ze8kB2ottJUNdp8J3UxAgMwS9AF8="
114+ file : threadscope.$TRAVIS_OS_NAME.gz
115+ skip_cleanup : true
116+ on :
117+ repo : haskell/ThreadScope
118+ tags : true
119+ condition : " $HC = ghc-8.2.1"
106120# EOF
Original file line number Diff line number Diff line change 22[ ![ Hackage] ( https://img.shields.io/hackage/v/threadscope.svg )] ( https://hackage.haskell.org/package/threadscope )
33[ ![ Hackage-Deps] ( https://img.shields.io/hackage-deps/v/threadscope.svg )] ( http://packdeps.haskellers.com/feed?needle=threadscope )
44[ ![ Build Status] ( https://travis-ci.org/haskell/ThreadScope.svg?branch=master )] ( https://travis-ci.org/haskell/ThreadScope )
5- [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/y6kd8pyh2f3qok4f ?svg=true )] ( https://ci.appveyor.com/project/Mikolaj /threadscope )
5+ [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/tiwkb7k6p38dde03/branch/master ?svg=true )] ( https://ci.appveyor.com/project/maoe /threadscope-44t6e/branch/master )
66
7- ## Installation
7+ ## Using pre-built binaries
8+
9+ Currently [ pre-built binaries] ( https://github.com/haskell/ThreadScope/releases ) for the following platforms are provided:
10+
11+ * Ubuntu Trusty (64-bit)
12+ * OS X
13+ * Windows (x64)
14+
15+ GTK+2 needs to be installed for those binaries to work. On OS X, ` gtk-mac-integration ` also needs to be installed.
16+
17+ ## Building from source
818
919### Linux
1020
@@ -25,7 +35,7 @@ stack setup
2535stack install
2636```
2737
28- ### macOS
38+ ### OS X
2939
3040GTK+ and gtk-mac-integration are required.
3141
Original file line number Diff line number Diff line change @@ -23,3 +23,16 @@ test_script:
2323- stack --no-terminal build --ghc-options -Werror
2424- stack sdist
2525version : ' {build}'
26+ after_test :
27+ - ps : cp "$(./stack.exe path --local-install-root)/bin/threadscope.exe" threadscope.exe
28+ - 7z a threadscope.windows.%PLATFORM%.zip threadscope.exe
29+ artifacts :
30+ - path : threadscope.windows.%PLATFORM%.zip
31+ deploy :
32+ - provider : GitHub
33+ auth_token :
34+ secure : IbU7Tokqkdq4bI5PT+HvzG0hO4O8t2Lxq3GamSuAzWsQWt4vZahOGL9StxIXIe94
35+ artifact : threadscope.windows.$(platform).zip
36+ release : $(appveyor_repo_tag_name)
37+ on :
38+ appveyor_repo_tag : true
You can’t perform that action at this time.
0 commit comments