Skip to content

Commit

Permalink
github-actions: Add clang build
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendling committed Nov 14, 2023
1 parent 88bcca2 commit 1a22c6d
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ env:
libgirepository1.0-dev
DEB_BUILD_DEPS: |
ccache
clang
autoconf-archive
autopoint
gir1.2-freedesktop
Expand All @@ -62,7 +63,6 @@ env:
gobject-introspection
# TODO
DEB_SCAN_BUILD_DEPS: |
clang
clang-tools
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-panel
ARCH_BUILD_DEPS: |
Expand Down Expand Up @@ -101,11 +101,17 @@ jobs:
matrix:
in-process: [all, none]
container: ['debian:testing', 'ubuntu:rolling', 'archlinux:latest']
cc: ['gcc']
cxx: ['g++']
include:
- container: 'debian:testing'
cc: 'clang'
cxx: 'clang++'

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

Expand Down

0 comments on commit 1a22c6d

Please sign in to comment.