-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (45 loc) · 1.16 KB
/
build-ios.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Build - ios
on:
push:
branches:
- '**'
tags:
- 'v*'
paths-ignore:
- 'buildtools/docker/**'
- 'docs/**'
- '.vscode/**'
- '.devcontainer/**'
- '**.md'
env:
CONAN_PRINT_RUN_COMMANDS: 1
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
build_profiles: ["ios-armv7", "ios-armv8", "ios-simulator-x86_64"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
submodules: 'true'
# setup build tools: ninja, conan, yasm
- uses: seanmiddleditch/gha-setup-ninja@master
- uses: turtlebrowser/get-conan@main
with:
version: 1.62.0
- name: Install and check tools
run: |
brew install tree bear automake
conan --version && ninja --version && echo $PATH
# build
- name: Build
run: |
cd buildtools/conan
conan create -pr profiles/${{ matrix.build_profiles }} openssl
conan create -pr profiles/${{ matrix.build_profiles }} boringssl
# view built conan packages
- name: View built packages
run : |
conan search "*"