-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 802 Bytes
/
ci.yml
File metadata and controls
38 lines (31 loc) · 802 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Build & Test (ARM64)
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Qt6 & build tools
run: |
sudo apt-get update -q
sudo apt-get install -y --no-install-recommends \
qt6-base-dev \
qt6-tools-dev \
cmake \
ninja-build \
can-utils
- name: Configure
run: |
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=ON
- name: Build
run: cmake --build build --parallel
- name: Run tests
run: ctest --test-dir build --output-on-failure --timeout 30