Skip to content

Commit 23e34da

Browse files
[CI] Add an Ubuntu 24.04LTS runner.
1 parent fe92479 commit 23e34da

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed

.github/workflows/ubuntu-2404.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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}}

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
:alt: Last build status on Ubuntu 22.04 (gcc + clang)
2727
:target: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/ubuntu-2204.yml
2828

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+
2933
.. |CImacOS13| image:: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/macos-13.yml/badge.svg
3034
:alt: Last build status on macOS 13 (Ventura)
3135
:target: https://github.com/ARM-software/tarmac-trace-utilities/actions/workflows/macos-13.yml

0 commit comments

Comments
 (0)