Build OS X Apps on Travis CI
Kiwamu Okabe
Who am I?
☆ http://www.masterq.net/
☆ Twitter: @master_q
☆ Organizer of Metasepi project
☆ A developer of Ajhc Haskell com...
Do you use Travis CI?
Ajhc is tested on Travis CI
☆ Travis CI is a continuous integration
service.
☆ It builds code on Ubuntu Linux.
☆ But some ...
Travis CI can build iOS apps
If so, also can build Mac OS X apps?
http://about.travis-ci.org/docs/user/osx-ci-environment/
Detail to build Mac OS X Apps
Detail: https://github.com/ajhc/ajhc/tree/arafura-ci4osx
Setting to build OS X Apps #1
# .travis.yml
language: objective-c
before_install:
- date
- export PATH="$HOME/Library/Hask...
Setting to build OS X Apps #2
# travis-ci/setup_osx.sh
#!/usr/bin/env sh
wget "http://lambda.haskell.org/platform/download...
Demonstration
We have a time to watch demo?
PR: Ajhc Haskell compiler
☆ http://ajhc.metasepi.org/
☆ Ajhc apps are able to running on tiny
CPU has only 40kB RAM.
☆ Ajh...
PR: Call For Articles
☆ http://www.paraiso-lang.org/ikmsm/
☆ Fanzine of functional programming.
☆ About Haskell or OCaml o...
Upcoming SlideShare
Loading in...5
×

Build OS X Apps on Travis CI

2,194

Published on

Build OS X Apps on Travis CI

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,194
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
1
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Build OS X Apps on Travis CI

  1. 1. Build OS X Apps on Travis CI Kiwamu Okabe
  2. 2. Who am I? ☆ http://www.masterq.net/ ☆ Twitter: @master_q ☆ Organizer of Metasepi project ☆ A developer of Ajhc Haskell compiler ☆ A Debian Maintainer ☆ 10 years' experience in developing OS using NetBSD.
  3. 3. Do you use Travis CI?
  4. 4. Ajhc is tested on Travis CI ☆ Travis CI is a continuous integration service. ☆ It builds code on Ubuntu Linux. ☆ But some people use Mac OS X. ☆ Are there CI services for OS X Apps?
  5. 5. Travis CI can build iOS apps If so, also can build Mac OS X apps? http://about.travis-ci.org/docs/user/osx-ci-environment/
  6. 6. Detail to build Mac OS X Apps Detail: https://github.com/ajhc/ajhc/tree/arafura-ci4osx
  7. 7. Setting to build OS X Apps #1 # .travis.yml language: objective-c before_install: - date - export PATH="$HOME/Library/Haskell/bin:$PATH" - ./travis-ci/setup_osx.sh - git fetch --tags - ./travis-ci/show_setting_osx.sh script: - ./travis-ci/build.sh - make selftest - make rtstest after_script: - date
  8. 8. Setting to build OS X Apps #2 # travis-ci/setup_osx.sh #!/usr/bin/env sh wget "http://lambda.haskell.org/platform/download/2013.2.0.0/ Haskell Platform 2013.2.0.0 32bit.pkg" sudo installer -pkg "Haskell Platform 2013.2.0.0 32bit.pkg" target / brew update brew install valgrind echo "yes" | sudo cpan install YAML cabal update export HSPACKS="derive temporary haskeline utf8-string HsSyck cpphs test-framework-th test-framework-hunit test-frameworkquickcheck2 uniplate" export HSOPTS="-j --disable-documentation --disable-libraryprofiling --disable-executable-profiling" cabal install $HSOPTS cabal-install cabal install $HSOPTS $HSPACKS
  9. 9. Demonstration We have a time to watch demo?
  10. 10. PR: Ajhc Haskell compiler ☆ http://ajhc.metasepi.org/ ☆ Ajhc apps are able to running on tiny CPU has only 40kB RAM. ☆ Ajhc also build Android NDK apps. ☆ In future, would like to rewrite NetBSD kernel with Ajhc!
  11. 11. PR: Call For Articles ☆ http://www.paraiso-lang.org/ikmsm/ ☆ Fanzine of functional programming. ☆ About Haskell or OCaml or . . . ☆ Article about Ajhc in C84 book. ☆ Call me if you read it! http://www.paraiso-lang.org/ikmsm/books/c85.html
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×