-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 941 Bytes
/
Copy pathc-cpp.yml
File metadata and controls
43 lines (39 loc) · 941 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
38
39
40
41
42
43
name: C/C++ CI
on:
push:
branches: [ development ]
pull_request:
branches: [ development ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install libIgnitech
run: |
./install-deps.sh ignitech
- name: Install libISP2
run: |
./install-deps.sh isp
- name: Install Bluetooth headers
run: ./install-deps.sh bluetooth
- name: Install Flatbuffers
run: |
./install-deps.sh flatbuffers
- name: configure
run: ./configure --disable-extra --without-bcm2835
- name: make
run: make
- name: Install utilities for tests
run: sudo apt install can-utils
- name: make check
run: |
make check
- name: Archive tests artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-logs
path: |
*.log
tests/*.log