-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (40 loc) · 1.13 KB
/
linux.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
42
43
44
45
46
47
48
49
50
51
52
name: Linux CI
on:
push:
branches:
- master
jobs:
build_release:
strategy:
matrix:
os: [ubuntu-22.04] #ubuntu-latest
#qt6: ["ON", "OFF"]
compiler:
- { cc: gcc-11, cxx: g++-11 }
- { cc: gcc-13, cxx: g++-13 }
- { cc: gcc, cxx: g++ } # Latest version
- { cc: clang-11, cxx: clang++-11 }
- { cc: clang-15, cxx: clang++-15 }
fail-fast: false
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }};${{ matrix.compiler.cxx }} #; #qt5-${{ matrix.qt6 }}
timeout-minutes: 20
steps:
- name: Install configure system
run: |
sudo apt update
sudo apt install \
${{ matrix.compiler.cc }} \
ninja-build \
cmake \
libgdal-dev \
libboost-all-dev \
doxygen
- name: Checkout code
uses: actions/checkout@v2
- name: Configure
run: cmake --preset=gprof_pg_flag -DCMAKE_INSTALL_PREFIX=install_gprof
- name: Build
run: cmake --build --preset=gprof_pg_flag --target install
- name: Run Tests
run: ctest --preset test_gprof_pg_flag