-
Notifications
You must be signed in to change notification settings - Fork 34
37 lines (37 loc) · 1.03 KB
/
testing.yml
File metadata and controls
37 lines (37 loc) · 1.03 KB
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: Testing
on: [push]
jobs:
compilation:
strategy:
matrix:
include:
- os: ubuntu-24.04
friendly: clang
compiler: clang++
aptpkg: clang
- os: ubuntu-24.04
friendly: gcc
compiler: g++
aptpkg: build-essential
- os: ubuntu-22.04
friendly: clang
compiler: clang++
aptpkg: clang
- os: ubuntu-22.04
friendly: gcc
compiler: g++
aptpkg: build-essential
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: FlashMQTests
name: "Normal test - ${{ matrix.os }}: ${{ matrix.friendly }}"
steps:
- name: Checkout
uses: actions/checkout@v3
- run: sudo apt update
# Build prerequisites
- run: sudo apt install -y cmake libssl-dev libcurl4-openssl-dev ${{ matrix.aptpkg }}
# Building
- run: ./run-make-from-ci.sh --compiler "${{ matrix.compiler }}"
- run: ./run-tests-from-ci.sh