-
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (32 loc) · 884 Bytes
/
ccpp.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
name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Create build folder
# run: cd src && mkdir build && cd build && cmake -DCMAKE_CXX_FLAGS="-Werror" ..
# - name: build
# run: cmake --build build
# - name: test
# run: cd build && ctest
# build-windows:
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [windows-latest, windows-2016]
# steps:
# - uses: actions/checkout@v4
# - name: configure
# run: cd src && mkdir build && cd build && cmake ..
# - name: build
# run: cmake --build build --config Debug
# - name: test
# run: cd build && ctest