forked from dqrobotics/cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (25 loc) · 848 Bytes
/
cpp_build_macos.yml
File metadata and controls
34 lines (25 loc) · 848 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
30
31
32
33
34
name: CPP Build MacOS
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
testbranches: ['release','master']
steps:
- uses: actions/checkout@v2
- name: Install prerequisites
run: sh .github/scripts/macos/install_prerequisites.sh
- name: Build
run: sh .github/scripts/macos/build.sh
- name: Install
run: sh .github/scripts/macos/install.sh
- name: Download examples ((${{ matrix.testbranches }}))
run: git clone -b ${{ matrix.testbranches }} https://github.com/dqrobotics/cpp-examples.git
- name: Build pure examples
run: |
cd cpp-examples
chmod +x .build_pure.sh
./.build_pure.sh