2021-03-19 17:50:39 +00:00
|
|
|
name: Simulator
|
|
|
|
|
|
|
|
on:
|
|
|
|
# Triggers the workflow on any pull request and push to develop
|
|
|
|
push:
|
|
|
|
branches: [ develop ]
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: macos-latest
|
2021-04-20 14:55:38 +00:00
|
|
|
|
2021-03-19 17:50:39 +00:00
|
|
|
steps:
|
|
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup
|
|
|
|
run: bundle install
|
|
|
|
|
|
|
|
- name: Use right MatrixKit and MatrixSDK versions
|
|
|
|
run: bundle exec fastlane point_dependencies_to_pending_releases
|
|
|
|
|
|
|
|
- name: Build iOS simulator
|
|
|
|
run: bundle exec fastlane build
|
2021-04-20 14:55:38 +00:00
|
|
|
|
|
|
|
- name: Units tests
|
|
|
|
run: bundle exec fastlane test
|