Skip to content

Commit 5f3f64c

Browse files
committed
ci: build, don't use arguments for buildtype and default_library
1 parent e8a16dc commit 5f3f64c

File tree

1 file changed

+9
-25
lines changed

1 file changed

+9
-25
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,72 +15,56 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
config:
18-
- name: Windows MSVC Release
18+
- name: Windows MSVC
1919
os: windows
2020
os-version: 2022
2121
environment: msvc
22-
buildtype: release
23-
library_type: static
2422
shell: pwsh
2523

26-
- name: Windows MingGW Release
24+
- name: Windows MingGW
2725
os: windows
2826
os-version: 2022
2927
environment: mingw
3028
architecture: x86_64
31-
buildtype: release
32-
library_type: static
3329
shell: 'msys2 {0}'
3430

35-
- name: Windows UCRT Release
31+
- name: Windows UCRT
3632
os: windows
3733
os-version: 2022
3834
environment: ucrt
3935
architecture: ucrt-x86_64
40-
buildtype: release
41-
library_type: static
4236
shell: 'msys2 {0}'
4337

44-
- name: Linux Release
38+
- name: Linux
4539
os: ubuntu
4640
os-version: 24.04
47-
buildtype: release
4841
use-clang: false
49-
library_type: shared
5042
shell: bash
5143

52-
- name: Linux Clang Release (libstdc++)
44+
- name: Linux Clang (libstdc++)
5345
os: ubuntu
5446
os-version: 24.04
55-
buildtype: release
5647
use-clang: true
5748
use-clang_stdlib: false
58-
library_type: shared
5949
shell: bash
6050

61-
- name: Linux Clang Release (libc++)
51+
- name: Linux Clang (libc++)
6252
os: ubuntu
6353
os-version: 24.04
64-
buildtype: release
6554
use-clang: true
6655
use-clang_stdlib: true
67-
library_type: shared
6856
shell: bash
6957

70-
- name: MacOS Release
58+
- name: MacOS
7159
os: macos
7260
os-version: 13
7361
arm: false
74-
buildtype: release
75-
library_type: shared
7662
shell: bash
7763

78-
- name: MacOS Release (Arm64)
64+
- name: MacOS (Arm64)
7965
os: macos
8066
os-version: 14
8167
arm: true
82-
buildtype: release
83-
library_type: shared
8468
shell: bash
8569

8670
defaults:
@@ -203,7 +187,7 @@ jobs:
203187
brew install sdl2 sdl2_ttf sdl2_mixer sdl2_image
204188
205189
- name: Configure
206-
run: meson setup build -Dbuildtype=${{ matrix.config.buildtype }} -Ddefault_library=${{ matrix.config.library_type }} -Dclang_libcpp=${{ ( ( matrix.config.os == 'ubuntu' && matrix.config.use-clang == true && matrix.config.use-clang_stdlib ) || matrix.config.os == 'macos' ) && 'enabled' || 'disabled' }}
190+
run: meson setup build -Dbuildtype=release -Ddefault_library=shared -Dclang_libcpp=${{ ( ( matrix.config.os == 'ubuntu' && matrix.config.use-clang == true && matrix.config.use-clang_stdlib ) || matrix.config.os == 'macos' ) && 'enabled' || 'disabled' }}
207191

208192
- name: Build
209193
run: meson compile -C build

0 commit comments

Comments
 (0)