-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (30 loc) · 915 Bytes
/
ci.yml
File metadata and controls
37 lines (30 loc) · 915 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
35
36
37
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
cmake_generator: "Unix Makefiles"
- os: windows-latest
cmake_generator: "Visual Studio 17 2022"
- os: macos-latest
cmake_generator: "Unix Makefiles"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B build -G "${{ matrix.cmake_generator }}" -DCMAKE_BUILD_TYPE=Release -DCOPILOT_BUILD_TESTS=ON
- name: Build
run: cmake --build build --config Release
- name: Run Unit Tests
run: ctest --test-dir build -C Release -E "^E2ETest\." --output-on-failure
env:
COPILOT_SDK_CPP_SKIP_E2E: 1