From 7302e4b02dd671c7637f160ed2dd4f3326212590 Mon Sep 17 00:00:00 2001 From: Vankata453 <78196474+Vankata453@users.noreply.github.com> Date: Sat, 8 Jun 2024 03:21:02 +0300 Subject: [PATCH] Generate builds with `RelWithDebInfo` instead of `Release` (#2963) The resulting Windows builds should now be able to generate meaningful stacktraces. Fixes #2945 --- .github/workflows/bsd.yml | 2 +- .github/workflows/gnulinux.yml | 4 ++-- .github/workflows/macos.yml | 4 ++-- .github/workflows/ubuntu-touch.yml | 2 +- .github/workflows/wasm.yml | 2 +- .github/workflows/windows.yml | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml index 899325e4168..52feff5cde7 100644 --- a/.github/workflows/bsd.yml +++ b/.github/workflows/bsd.yml @@ -32,7 +32,7 @@ jobs: matrix: # TODO: Add the OpenBSD, NetBSD and Solaris VMs whenever possible vm_os: [freebsd] - build_type: [Debug, Release] + build_type: [Debug, RelWithDebInfo] # FreeBSD does not have glbinding # glbiactions/checkout@v4 diff --git a/.github/workflows/gnulinux.yml b/.github/workflows/gnulinux.yml index 205e4b1bfef..ad9d1619177 100644 --- a/.github/workflows/gnulinux.yml +++ b/.github/workflows/gnulinux.yml @@ -34,14 +34,14 @@ jobs: arch: [32, 64] os: [ubuntu-20.04] compiler: [gcc, clang] - build_type: [Debug, Release] + build_type: [Debug, RelWithDebInfo] glbinding: [ON, OFF] exclude: - arch: 32 glbinding: ON include: - os: ubuntu-20.04 - build_type: Release + build_type: RelWithDebInfo compiler: gcc arch: 64 glbinding: OFF diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0a86ed7996e..8f9513b0ce7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -32,11 +32,11 @@ jobs: fail-fast: false matrix: os: [macos-12] - build_type: [Debug, Release] + build_type: [Debug, RelWithDebInfo] glbinding: [ON, OFF] include: - os: macos-12 - build_type: Release + build_type: RelWithDebInfo glbinding: OFF release: ON diff --git a/.github/workflows/ubuntu-touch.yml b/.github/workflows/ubuntu-touch.yml index 7dd960a1823..001d5629f8f 100644 --- a/.github/workflows/ubuntu-touch.yml +++ b/.github/workflows/ubuntu-touch.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - build_type: [Debug, Release] + build_type: [Debug, RelWithDebInfo] arch: [amd64, arm64, armhf] # glbinding is missing as it isn't available on Ubuntu 16.04 opengl: [glew, sdl] diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index e090586144c..f34e245ce70 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - build_type: ["Release", "Debug"] + build_type: ["RelWithDebInfo", "Debug"] runs-on: ubuntu-latest steps: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1c0859a6c08..5b4077a1c87 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -32,14 +32,14 @@ jobs: fail-fast: false matrix: arch: [x64, x86] - build_type: [Debug, Release] + build_type: [Debug, RelWithDebInfo] glbinding: [OFF] # [ON, OFF] # FIXME: Fix Windows glbinding builds include: - - build_type: Release + - build_type: RelWithDebInfo arch: x64 glbinding: OFF release: ON - - build_type: Release + - build_type: RelWithDebInfo arch: x86 glbinding: OFF release: ON