Skip to content

Commit

Permalink
Add config file for CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
mkchoi212 committed May 23, 2018
1 parent c2044e8 commit f89d10b
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,41 @@
version: 2
jobs:
build:
macos:
xcode: "9.3.0"
environment:
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
shell: /bin/bash --login -eo pipefail

steps:
- checkout
- restore_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
- run: bundle check || bundle install --path .bundle
- save_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
paths:
- .bundle

- restore_cache:
key: libvlc-ios-{{ checksum "compileAndBuildVLCKit.sh" }}

- run:
name: Build libvlc (iOS Simulator)
command: |
[ $(find . -name 'vlc-plugins*.h' | wc -l) -gt 0 ] || \
./compileAndBuildVLCKit.sh -dva x86_64
- run:
name: Build MobileVLCKit and Run tests
command: bundle exec fastlane ci
when: always

- save_cache:
key: libvlc-ios-{{ checksum "compileAndBuildVLCKit.sh" }}
paths:
- build
- libvlc
- Resources

0 comments on commit f89d10b

Please sign in to comment.