forked from trustwallet/wallet-core
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 875 Bytes
/
ios-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: iOS CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Install system dependencies
run: |
brew install boost ninja xcodegen xcbeautify
- name: Cache internal dependencies
id: internal_cache
uses: actions/cache@v1.1.2
with:
path: build/local
key: ${{ runner.os }}-internal-${{ hashFiles('tools/install-dependencies') }}
- name: Install internal dependencies
run: |
tools/install-dependencies
if: steps.internal_cache.outputs.cache-hit != 'true'
- name: Run codegen tests
run: tools/codegen-test
- name: Run iOS tests
run: |
tools/generate-files
tools/ios-test
- name: Build sample app
run: |
tools/samples-build ios