File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Ubuntu 24.04 (gcc + clang)"
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+ workflow_dispatch :
9
+
10
+ env :
11
+ CMAKE_BUILD_TYPE : Debug
12
+ NUM_BUILD_JOBS : 2
13
+
14
+ jobs :
15
+
16
+ configure_build_test_with_clang :
17
+ name : " Install, configure, build and test with clang"
18
+ runs-on : ubuntu-24.04
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - name : apt update
22
+ run : sudo apt-get update
23
+ - name : Install dependencies for apps with a GUI
24
+ run : sudo apt-get install pkg-config libwxgtk3.2-dev
25
+ - name : Configure
26
+ run : CC=clang CXX=clang++ cmake -B ${{github.workspace}}/build-clang -DCMAKE_BUILD_TYPE:STRING=${{env.CMAKE_BUILD_TYPE}} -DFORCE_BUILDING_ALL_APPS:BOOL=ON
27
+ - name : Build
28
+ run : cmake --build ${{github.workspace}}/build-clang --config ${{env.CMAKE_BUILD_TYPE}} -- -j${{env.NUM_BUILD_JOBS}}
29
+ - name : Test
30
+ working-directory : ${{github.workspace}}/build-clang
31
+ run : ctest -C ${{env.CMAKE_BUILD_TYPE}}
32
+
33
+ configure_build_test_with_gcc :
34
+ name : " Install, configure, build and test with gcc"
35
+ runs-on : ubuntu-24.04
36
+ steps :
37
+ - uses : actions/checkout@v4
38
+ - name : apt update
39
+ run : sudo apt-get update
40
+ - name : Install dependencies for apps with a GUI
41
+ run : sudo apt-get install pkg-config libwxgtk3.2-dev
42
+ - name : Configure
43
+ run : CC=gcc CXX=g++ cmake -B ${{github.workspace}}/build-gcc -DCMAKE_BUILD_TYPE:STRING=${{env.CMAKE_BUILD_TYPE}} -DFORCE_BUILDING_ALL_APPS:BOOL=ON
44
+ - name : Build
45
+ run : cmake --build ${{github.workspace}}/build-gcc --config ${{env.CMAKE_BUILD_TYPE}} -- -j${{env.NUM_BUILD_JOBS}}
46
+ - name : Test
47
+ working-directory : ${{github.workspace}}/build-gcc
48
+ run : ctest -C ${{env.CMAKE_BUILD_TYPE}}
Original file line number Diff line number Diff line change 26
26
:alt: Last build status on Ubuntu 22.04 (gcc + clang)
27
27
:target: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/ubuntu-2204.yml
28
28
29
+ .. |CIUbuntu2404 | image :: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/ubuntu-2404.yml/badge.svg
30
+ :alt: Last build status on Ubuntu 24.04 (gcc + clang)
31
+ :target: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/ubuntu-2404.yml
32
+
29
33
.. |CImacOS13 | image :: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/macos-13.yml/badge.svg
30
34
:alt: Last build status on macOS 13 (Ventura)
31
35
:target: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/macos-13.yml
You can’t perform that action at this time.
0 commit comments