Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 77 additions & 76 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CMake

on:
push:
branches: [ master, feature/gh-actions, feature/compositor-ng ]
branches: [master, feature/gh-actions, feature/compositor-ng]
pull_request:
branches: [ master, feature/gh-actions, feature/compositor-ng ]
branches: [master, feature/gh-actions, feature/compositor-ng]
workflow_dispatch:

jobs:
Expand All @@ -27,26 +27,26 @@ jobs:
- Debug
- Release
include:
- graphics-backends: 'vulkan-only'
enable-vulkan: 'on'
enable-opengl: 'off'
- graphics-backends: 'opengl-only'
enable-vulkan: 'off'
enable-opengl: 'on'

- graphics-backends: 'vulkan-and-opengl'
enable-vulkan: 'on'
enable-opengl: 'on'
- enable-opengl: 'on'
opengl-deps: 'libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev'

- enable-vulkan: 'on'
vulkan-deps: 'libvulkan-dev'

- compiler: 'clang'
clang-deps: 'clang'
- graphics-backends: "vulkan-only"
enable-vulkan: "on"
enable-opengl: "off"

- graphics-backends: "opengl-only"
enable-vulkan: "off"
enable-opengl: "on"

- graphics-backends: "vulkan-and-opengl"
enable-vulkan: "on"
enable-opengl: "on"

- enable-opengl: "on"
opengl-deps: "libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev"

- enable-vulkan: "on"
vulkan-deps: "libvulkan-dev"

- compiler: "clang"
clang-deps: "clang"
steps:
# On the self-hosted runners, we assume those are already installed.
# - name: Install dependencies
Expand All @@ -61,7 +61,7 @@ jobs:

- uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Configure CMake
run: |
Expand Down Expand Up @@ -94,8 +94,9 @@ jobs:
strategy:
matrix:
container:
- 'debian:bullseye'
- 'debian:buster'
- "debian:trixie"
- "debian:bookworm"
- "debian:bullseye"
graphics-backends:
- vulkan-only
- opengl-only
Expand All @@ -107,57 +108,57 @@ jobs:
- Debug
- Release
sentry-plugin:
- 'off'
- 'on-inproc'
- 'on-crashpad-bundled'
- 'on-crashped-unbundled'
- "off"
- "on-inproc"
- "on-crashpad-bundled"
- "on-crashpad-unbundled"
include:
- graphics-backends: 'vulkan-only'
enable-vulkan: 'on'
enable-opengl: 'off'
- graphics-backends: 'opengl-only'
enable-vulkan: 'off'
enable-opengl: 'on'

- graphics-backends: 'vulkan-and-opengl'
enable-vulkan: 'on'
enable-opengl: 'on'
- enable-opengl: 'on'
opengl-deps: 'libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev'

- enable-vulkan: 'on'
vulkan-deps: 'libvulkan-dev'
- compiler: 'gcc'
cxx-compiler: 'g++'
gcc-deps: 'gcc g++'

- compiler: 'clang'
cxx-compiler: 'clang++'
clang-deps: 'clang'
- sentry-plugin: 'off'
sentry-plugin-enable: 'off'
sentry-deps: ''
- sentry-plugin: 'on-inproc'
sentry-plugin-enable: 'on'
sentry-backend: 'inproc'
sentry-deps: 'libcurl4-openssl-dev'

- sentry-plugin: 'on-crashpad-bundled'
sentry-plugin-enable: 'on'
sentry-backend: 'crashpad'
sentry-bundled-crashpad-handler: 'on'
sentry-deps: 'libcurl4-openssl-dev'

- senty-plugin: 'on-crashped-unbundled'
sentry-plugin-enable: 'on'
sentry-backend: 'crashpad'
sentry-bundled-crashpad-handler: 'off'
sentry-deps: 'libcurl4-openssl-dev'
- graphics-backends: "vulkan-only"
enable-vulkan: "on"
enable-opengl: "off"

- graphics-backends: "opengl-only"
enable-vulkan: "off"
enable-opengl: "on"

- graphics-backends: "vulkan-and-opengl"
enable-vulkan: "on"
enable-opengl: "on"

- enable-opengl: "on"
opengl-deps: "libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev"

- enable-vulkan: "on"
vulkan-deps: "libvulkan-dev"

- compiler: "gcc"
cxx-compiler: "g++"
gcc-deps: "gcc g++"

- compiler: "clang"
cxx-compiler: "clang++"
clang-deps: "clang"

- sentry-plugin: "off"
sentry-plugin-enable: "off"
sentry-deps: ""

- sentry-plugin: "on-inproc"
sentry-plugin-enable: "on"
sentry-backend: "inproc"
sentry-deps: "libcurl4-openssl-dev"

- sentry-plugin: "on-crashpad-bundled"
sentry-plugin-enable: "on"
sentry-backend: "crashpad"
sentry-bundled-crashpad-handler: "on"
sentry-deps: "libcurl4-openssl-dev"

- senty-plugin: "on-crashpad-unbundled"
sentry-plugin-enable: "on"
sentry-backend: "crashpad"
sentry-bundled-crashpad-handler: "off"
sentry-deps: "libcurl4-openssl-dev"
steps:
# git needs to be installed before checking out, otherwise the checkout will fallback to the REST API,
# and the submodule download won't work.
Expand All @@ -175,7 +176,7 @@ jobs:

- uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Configure CMake
run: |
Expand Down