forked from Haivision/srt
-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (25 loc) · 821 Bytes
/
iOS.yaml
File metadata and controls
29 lines (25 loc) · 821 Bytes
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
name: iOS
on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]
jobs:
build:
strategy:
matrix:
cxxstdsync: [OFF, ON]
name: iOS-cxxsync${{ matrix.cxxstdsync }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install dependency packages
run: |
brew install make llvm
- name: configure
run: |
mkdir _build && cd _build
export PATH="/opt/homebrew/opt/llvm/bin:$PATH" CC=clang CXX=clang++
cmake .. -DCMAKE_MAKE_PROGRAM=gmake -DENABLE_ENCRYPTION=OFF -DENABLE_STDCXX_SYNC=${{matrix.cxxstdsync}} -DENABLE_MONOTONIC_CLOCK=OFF -DENABLE_UNITTESTS=OFF -DUSE_CXX_STD=c++11 -DENABLE_BONDING=ON --toolchain scripts/iOS.cmake
- name: build
run: cd _build && cmake --build ./