-
Notifications
You must be signed in to change notification settings - Fork 35
43 lines (37 loc) · 907 Bytes
/
ci.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
name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
schedule:
- cron: "0 6 * * 1-5"
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: build
shell: bash
run: |
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
- name: make examples
shell: bash
run: |
cd build
cmake --build . --target examples
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
# Artifact name
name: zenoh-cpp-${{ matrix.os }}
# Directory containing files to upload
path: |
target/release/examples