Debian Codegraph @

.github/workflows/iOS.yaml

raw
1 name: iOS
2
3 on:
4 push:
5 branches: [ "master", "dev" ]
6 pull_request:
7 branches: [ "master", "dev" ]
8
9 jobs:
10 build:
11 strategy:
12 matrix:
13 cxxstdsync: [OFF, ON]
14
15 name: iOS-cxxsync${{ matrix.cxxstdsync }}
16 runs-on: macos-latest
17
18 steps:
19 - uses: actions/checkout@v3
20 - name: Install dependency packages
21 run: |
22 brew install make llvm
23 - name: configure
24 run: |
25 mkdir _build && cd _build
26 export PATH="/opt/homebrew/opt/llvm/bin:$PATH" CC=clang CXX=clang++
27 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
28 - name: build
29 run: cd _build && cmake --build ./