forked from alibaba/PhotonLibOS
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 932 Bytes
/
ci.macos.arm.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: macOS ARM
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
macOS-clang-debug:
runs-on: [self-hosted, macOS, ARM64]
steps:
# - uses: szenius/[email protected]
# with:
# timezoneLinux: "Asia/Shanghai"
# timezoneMacos: "Asia/Shanghai"
# timezoneWindows: "China Standard Time"
- uses: actions/checkout@v3
- name: Install Dependencies
shell: bash
run: |
brew install cmake openssl gflags googletest gsasl
- name: Build
run: |
cmake -B ${{github.workspace}}/build -D PHOTON_BUILD_TESTING=ON -D CMAKE_BUILD_TYPE=Debug \
-D PHOTON_ENABLE_SASL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@3
cmake --build ${{github.workspace}}/build -j -- VERBOSE=1
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest --timeout 3600 -V