Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dosbox-staging/dosbox-staging.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkcgen <kcgen@users.noreply.github.com>2022-09-24 22:15:19 +0300
committerkcgen <1557255+kcgen@users.noreply.github.com>2022-09-26 17:15:56 +0300
commit10ecc1806ea06e924a83c885aaa482a6d60e9eaf (patch)
tree5519658cb5731396c83c4a26175988d1b9d68558 /.github
parent29bfe13025f6bf3ea6923d3ddad4fe7a122e7bc0 (diff)
Use dynamic libraries by default
Given the number of users and developers reporting issues with static builds, it makes more sense now to to default to shared libraries by default.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/analysis.yml1
-rw-r--r--.github/workflows/coverity.yml1
-rw-r--r--.github/workflows/linux.yml1
-rw-r--r--.github/workflows/macos.yml10
-rw-r--r--.github/workflows/windows-meson-msys2.yml4
5 files changed, 8 insertions, 9 deletions
diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml
index 13fbd5a4a..a442c758b 100644
--- a/.github/workflows/analysis.yml
+++ b/.github/workflows/analysis.yml
@@ -89,7 +89,6 @@ jobs:
- run: |
meson setup \
-Dbuildtype=debug \
- -Ddefault_library=shared \
-Dsystem_libraries=speexdsp \
-Duse_alsa=false \
-Duse_fluidsynth=false \
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 91a09a988..c742eb451 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -66,7 +66,6 @@ jobs:
-Dbuildtype=debug \
-Dunit_tests=disabled \
-Dsystem_libraries=speexdsp \
- -Ddefault_library=shared \
-Duse_alsa=false \
-Duse_fluidsynth=false \
-Duse_mt32emu=false \
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index fc563ce8a..191301878 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -214,6 +214,7 @@ jobs:
- name: Setup release build
run: |
meson setup \
+ -Ddefault_library=static \
--wrap-mode=forcefallback \
-Db_lto=true -Db_lto_threads=$(nproc) \
--native-file=.github/meson/native-gcc-9.ini \
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index ffc83313a..5467aa64f 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -20,7 +20,7 @@ jobs:
arch: x86_64
needs_deps: true
packages: meson
- build_flags: -Dbuildtype=debug -Dunit_tests=disabled -Ddefault_library=shared
+ build_flags: -Dbuildtype=debug -Dunit_tests=disabled
brew_path: /usr/local/homebrew
max_warnings: 0
@@ -37,7 +37,7 @@ jobs:
host: macos-12
arch: x86_64
needs_deps: true
- build_flags: -Dbuildtype=debug -Ddefault_library=shared
+ build_flags: -Dbuildtype=debug
brew_path: /usr/local/homebrew
run_tests: true
max_warnings: -1
@@ -46,7 +46,7 @@ jobs:
host: macos-latest
arch: x86_64
needs_deps: true
- build_flags: -Denable_debugger=normal -Ddefault_library=shared
+ build_flags: -Denable_debugger=normal
brew_path: /usr/local/homebrew
max_warnings: 0
@@ -55,7 +55,7 @@ jobs:
arch: arm64
needs_deps: false
packages: meson
- build_flags: -Dbuildtype=debug -Dunit_tests=disabled -Ddefault_library=shared
+ build_flags: -Dbuildtype=debug -Dunit_tests=disabled
brew_path: /opt/homebrew
max_warnings: 0
@@ -247,7 +247,7 @@ jobs:
run: |
set -x
eval "$(${{ matrix.runner.brew_path }}/bin/brew shellenv)"
- meson setup ${{ matrix.runner.build_flags }} -Dwrap_mode=forcefallback -Dtry_static_libs=sdl2,sdl2_net build
+ meson setup ${{ matrix.runner.build_flags }} -Ddefault_library=static -Dwrap_mode=forcefallback -Dtry_static_libs=sdl2,sdl2_net build
meson compile -C build
- name: Upload binary
diff --git a/.github/workflows/windows-meson-msys2.yml b/.github/workflows/windows-meson-msys2.yml
index 2515aca3d..c42930526 100644
--- a/.github/workflows/windows-meson-msys2.yml
+++ b/.github/workflows/windows-meson-msys2.yml
@@ -240,10 +240,10 @@ jobs:
echo "PKG_RELEASE=dosbox-staging-windows-msys2-${{ matrix.conf.arch }}-${{ env.VERSION }}" >> $GITHUB_ENV
- name: Setup release build
- run: meson setup -Db_lto=true -Db_lto_threads=$(nproc) $BUILD_RELEASE_DIR
+ run: meson setup -Ddefault_library=static -Db_lto=true -Db_lto_threads=$(nproc) $BUILD_RELEASE_DIR
- name: Setup debugger build
- run: meson setup -Db_lto=true -Db_lto_threads=$(nproc) -Denable_debugger=normal $BUILD_DEBUGGER_DIR
+ run: meson setup -Ddefault_library=static -Db_lto=true -Db_lto_threads=$(nproc) -Denable_debugger=normal $BUILD_DEBUGGER_DIR
- name: Build release
run: |