summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-11-14 19:33:08 +0100
committerColomban Wendling <[email protected]>2025-03-12 09:45:10 +0100
commit1aac7f7fedb8f49afd264ddb43289a0700c5df17 (patch)
treef92e5b5b1ec287b24bc7517b11cdb9af55b93ba2
parente9bf2c50d37613f5466ced84617380170898894e (diff)
downloadmate-panel-1aac7f7fedb8f49afd264ddb43289a0700c5df17.tar.bz2
mate-panel-1aac7f7fedb8f49afd264ddb43289a0700c5df17.tar.xz
github-actions: Add clang build
-rw-r--r--.github/workflows/build.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 89393fbd..17ace93b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -92,7 +92,7 @@ env:
jobs:
build:
- name: Build on ${{matrix.container}} with in-process=${{matrix.in-process}}
+ name: Build on ${{matrix.container}} with in-process=${{matrix.in-process}} (using ${{matrix.cc}})
runs-on: ubuntu-latest
container: ${{matrix.container}}
@@ -101,11 +101,23 @@ jobs:
matrix:
in-process: [all, none]
container: ['debian:testing', 'ubuntu:rolling', 'archlinux:latest']
+ cc: ['gcc']
+ cxx: ['g++']
+ include:
+ # test with clang on archlinux:latest
+ - container: 'archlinux:latest'
+ cc: 'clang'
+ cxx: 'clang++'
+ in-process: all
+ - container: 'archlinux:latest'
+ cc: 'clang'
+ cxx: 'clang++'
+ in-process: none
env:
# Speed up build with ccache
- CC: ccache gcc
- CXX: ccache g++
+ CC: ccache ${{matrix.cc}}
+ CXX: ccache ${{matrix.cxx}}
# root install path for the mate-desktop dependency
MATE_DESKTOP_INSTALL_PATH: ${{github.workspace}}/mate-desktop-install