From 1237a5c29ed48d43805f43d431a9bd9de19b87dc Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Mon, 5 Aug 2024 04:56:42 +0200 Subject: [PATCH] CI: Switch to Ubuntu 24.04 for Clang job The previous commit fails to build on 22.04, which is stuck with Clang 14.0.0. Error: src/backends/PipeWire/PipeWire.cpp:347:28: error: no matching constructor for initialization of 'pipewire::Engine::Node' m_nodes.emplace(info->id, Node(id, name, static_cast< Direction >(direction))); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backends/PipeWire/PipeWire.hpp:45:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided struct Node { ^ src/backends/PipeWire/PipeWire.hpp:45:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 3 were provided src/backends/PipeWire/PipeWire.hpp:45:9: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e916104..b00ee91 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: matrix: include: - name: 'Ubuntu (Clang)' - os: ubuntu-latest + os: ubuntu-24.04 cCompiler: 'clang' cppCompiler: 'clang++' - name: 'Ubuntu (GCC)'