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:
103
103
# build & run tests
104
104
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
105
105
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"
106
120
# EOF
Original file line number Diff line number Diff line change 2
2
[ ![ Hackage] ( https://img.shields.io/hackage/v/threadscope.svg )] ( https://hackage.haskell.org/package/threadscope )
3
3
[ ![ Hackage-Deps] ( https://img.shields.io/hackage-deps/v/threadscope.svg )] ( http://packdeps.haskellers.com/feed?needle=threadscope )
4
4
[ ![ 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 )
6
6
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
8
18
9
19
### Linux
10
20
@@ -25,7 +35,7 @@ stack setup
25
35
stack install
26
36
```
27
37
28
- ### macOS
38
+ ### OS X
29
39
30
40
GTK+ and gtk-mac-integration are required.
31
41
Original file line number Diff line number Diff line change @@ -23,3 +23,16 @@ test_script:
23
23
- stack --no-terminal build --ghc-options -Werror
24
24
- stack sdist
25
25
version : ' {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