mirror of
https://github.com/biojppm/rapidyaml.git
synced 2026-01-18 21:41:18 +01:00
fix build with cmake 4
This commit is contained in:
4
.github/reqs.sh
vendored
4
.github/reqs.sh
vendored
@@ -166,7 +166,7 @@ function c4_install_test_requirements_ubuntu_impl()
|
||||
sudo pip3 install --force-reinstall importlib_metadata
|
||||
sudo pip3 install --force-reinstall setuptools
|
||||
sudo pip3 install setuptools-rust
|
||||
sudo pip3 install --upgrade pip
|
||||
sudo pip3 install --upgrade pip || echo "could not upgrade pip"
|
||||
sudo pip3 install $PIP_PKG
|
||||
fi
|
||||
}
|
||||
@@ -345,7 +345,7 @@ function _c4_addclang()
|
||||
clversion=$1
|
||||
case $clversion in
|
||||
# in 18.04, clang9 and later require PPAs
|
||||
9 | 10 | 11 | 12 | 13 | 14 | 15)
|
||||
9 | 10 | 11 | 12 | 13)
|
||||
_add_apt clang-$clversion "deb http://apt.llvm.org/$UBUNTU_RELEASE_NAME/ llvm-toolchain-$UBUNTU_RELEASE_NAME-$clversion main"
|
||||
# libstdc++ is required
|
||||
_c4_addgcc 11
|
||||
|
||||
4
.github/setenv.sh
vendored
4
.github/setenv.sh
vendored
@@ -105,12 +105,12 @@ function _c4skipbitlink()
|
||||
|
||||
function c4_build_test()
|
||||
{
|
||||
c4_build_target $* test-build
|
||||
c4_build_target $* ryml-test-build
|
||||
}
|
||||
|
||||
function c4_run_test()
|
||||
{
|
||||
c4_run_target $* test
|
||||
c4_run_target $* ryml-test-run
|
||||
}
|
||||
|
||||
function c4_build_target() # runs in parallel
|
||||
|
||||
24
.github/workflows-in/clang.ys
vendored
24
.github/workflows-in/clang.ys
vendored
@@ -138,22 +138,14 @@ jobs:
|
||||
# include:
|
||||
# # these jobs take much longer, so run only one bitlink pair per job
|
||||
# # to profit from parallelism
|
||||
# - {std: 11, cxx: clang++-10, bt: Debug , bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 11, cxx: clang++-10, bt: Release, bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 14, cxx: clang++-10, bt: Debug , bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 14, cxx: clang++-10, bt: Release, bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 17, cxx: clang++-10, bt: Debug , bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 17, cxx: clang++-10, bt: Release, bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 20, cxx: clang++-10, bt: Debug , bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 20, cxx: clang++-10, bt: Release, bitlinks: shared64,
|
||||
# os: ubuntu-20.04}
|
||||
# - {std: 11, cxx: clang++-10, bt: Debug , bitlinks: shared64, os: ubuntu-24.04}
|
||||
# - {std: 11, cxx: clang++-10, bt: Release, bitlinks: shared64, os: ubuntu-24.04}
|
||||
# - {std: 14, cxx: clang++-10, bt: Debug , bitlinks: shared64, os: ubuntu-24.04}
|
||||
# - {std: 14, cxx: clang++-10, bt: Release, bitlinks: shared64, os: ubuntu-24.04}
|
||||
# - {std: 17, cxx: clang++-10, bt: Debug , bitlinks: shared64, os: ubuntu-24.04}
|
||||
# - {std: 17, cxx: clang++-10, bt: Release, bitlinks: shared64, os: ubuntu-24.04}
|
||||
# - {std: 20, cxx: clang++-10, bt: Debug , bitlinks: shared64, os: ubuntu-24.04}
|
||||
# - {std: 20, cxx: clang++-10, bt: Release, bitlinks: shared64, os: ubuntu-24.04}
|
||||
#
|
||||
# env:: load('share/env.yaml')
|
||||
#
|
||||
|
||||
48
.github/workflows-in/install.ys
vendored
48
.github/workflows-in/install.ys
vendored
@@ -27,23 +27,23 @@ jobs:
|
||||
-['find_package' 'find_library' 'singleheader' 'linux/libcxx']
|
||||
t-t-i t-t-s =: -['test/test_install' 'test/test_singleheader']
|
||||
include:: -[
|
||||
{:name "$fp/linux", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'g++-10',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-10', :tgt 'all', :bt 'Release',
|
||||
{:name "$fp/linux", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'g++-13',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-13', :tgt 'all', :bt 'Release',
|
||||
:vars '-Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=ON',
|
||||
:commonvars nil}
|
||||
{:name "$fp/linux", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'g++-10',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-10', :tgt 'all', :bt 'Debug',
|
||||
{:name "$fp/linux", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'g++-13',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-13', :tgt 'all', :bt 'Debug',
|
||||
:vars '-Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=ON',
|
||||
:commonvars nil}
|
||||
{:name "$fp/$lcxx", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'clang++-9',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-9', :tgt 'all', :bt 'Release',
|
||||
{:name "$fp/$lcxx", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'clang++-14',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-14', :tgt 'all', :bt 'Release',
|
||||
:vars '-Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=ON',
|
||||
:commonvars '-DRYML_USE_LIBCXX=ON'}
|
||||
{:name "$fp/$lcxx", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'clang++-9',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-9', :tgt 'all', :bt 'Debug',
|
||||
{:name "$fp/$lcxx", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'clang++-14',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-14', :tgt 'all', :bt 'Debug',
|
||||
:vars '-Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=ON',
|
||||
:commonvars '-DRYML_USE_LIBCXX=ON'}
|
||||
@@ -72,23 +72,23 @@ jobs:
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=ON',
|
||||
:commonvars nil}
|
||||
|
||||
{:name "$fl/linux", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'g++-10',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-10', :tgt 'all', :bt 'Release',
|
||||
{:name "$fl/linux", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'g++-13',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-13', :tgt 'all', :bt 'Release',
|
||||
:vars '-DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=OFF',
|
||||
:commonvars nil}
|
||||
{:name "$fl/linux", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'g++-10',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-10', :tgt 'all', :bt 'Debug',
|
||||
{:name "$fl/linux", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'g++-13',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-13', :tgt 'all', :bt 'Debug',
|
||||
:vars '-DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=OFF',
|
||||
:commonvars nil}
|
||||
{:name "$fl/$lcxx", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'clang++-9',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-9', :tgt 'all', :bt 'Release',
|
||||
{:name "$fl/$lcxx", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'clang++-14',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-14', :tgt 'all', :bt 'Release',
|
||||
:vars '-DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=OFF',
|
||||
:commonvars '-DRYML_USE_LIBCXX=ON'}
|
||||
{:name "$fl/$lcxx", :sdir t-t-i, :os 'ubuntu-20.04', :cxx 'clang++-9',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-9', :tgt 'all', :bt 'Debug',
|
||||
{:name "$fl/$lcxx", :sdir t-t-i, :os 'ubuntu-24.04', :cxx 'clang++-14',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-14', :tgt 'all', :bt 'Debug',
|
||||
:vars '-DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=OFF',
|
||||
:commonvars '-DRYML_USE_LIBCXX=ON'}
|
||||
@@ -117,17 +117,17 @@ jobs:
|
||||
-DRYML_TEST_INSTALL_PACKAGE_MODE=OFF',
|
||||
:commonvars nil}
|
||||
|
||||
{:name "$sh/linux", :sdir t-t-s, :os 'ubuntu-20.04', :cxx 'g++-10',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-10',
|
||||
{:name "$sh/linux", :sdir t-t-s, :os 'ubuntu-24.04', :cxx 'g++-13',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-13',
|
||||
:tgt 'all', :bt 'Release', :vars nil, :commonvars nil}
|
||||
{:name "$sh/linux", :sdir t-t-s, :os 'ubuntu-20.04', :cxx 'g++-10',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-10',
|
||||
{:name "$sh/linux", :sdir t-t-s, :os 'ubuntu-24.04', :cxx 'g++-13',
|
||||
:gen '-DCMAKE_CXX_COMPILER=g++-13',
|
||||
:tgt 'all', :bt 'Debug', :vars nil, :commonvars nil}
|
||||
{:name "$sh/$lcxx", :sdir t-t-s, :os 'ubuntu-20.04', :cxx 'clang++-9',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-9', :tgt 'all', :bt 'Release',
|
||||
{:name "$sh/$lcxx", :sdir t-t-s, :os 'ubuntu-24.04', :cxx 'clang++-14',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-14', :tgt 'all', :bt 'Release',
|
||||
:vars nil, :commonvars '-DRYML_USE_LIBCXX=ON'}
|
||||
{:name "$sh/$lcxx", :sdir t-t-s, :os 'ubuntu-20.04', :cxx 'clang++-9',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-9', :tgt 'all', :bt 'Debug',
|
||||
{:name "$sh/$lcxx", :sdir t-t-s, :os 'ubuntu-24.04', :cxx 'clang++-14',
|
||||
:gen '-DCMAKE_CXX_COMPILER=clang++-14', :tgt 'all', :bt 'Debug',
|
||||
:vars nil, :commonvars '-DRYML_USE_LIBCXX=ON'}
|
||||
{:name "$sh/macos", :sdir t-t-s, :os 'macos-13', :cxx 'xcode',
|
||||
:gen '-G Xcode -DCMAKE_OSX_ARCHITECTURES=x86_64',
|
||||
|
||||
44
.github/workflows-in/release.ys
vendored
44
.github/workflows-in/release.ys
vendored
@@ -82,14 +82,14 @@ jobs:
|
||||
config:
|
||||
# name of the artifact | suffix (gen) | suffix (package) |
|
||||
# cpack gen | mime type | os | cxx
|
||||
- {name: Ubuntu 24.04 deb,
|
||||
sfxg: unix64.deb,
|
||||
sfxp: ubuntu-24.04.deb,
|
||||
gen: DEB, mime: vnd.debian.binary-package, os: ubuntu-24.04}
|
||||
- {name: Ubuntu 22.04 deb,
|
||||
sfxg: unix64.deb,
|
||||
sfxp: ubuntu-22.04.deb,
|
||||
gen: DEB, mime: vnd.debian.binary-package, os: ubuntu-22.04}
|
||||
- {name: Ubuntu 20.04 deb,
|
||||
sfxg: unix64.deb,
|
||||
sfxp: ubuntu-20.04.deb,
|
||||
gen: DEB, mime: vnd.debian.binary-package, os: ubuntu-20.04}
|
||||
#- {name: Ubuntu 18.04 deb,
|
||||
# sfxg: unix64.deb,
|
||||
# sfxp: ubuntu-18.04.deb,
|
||||
@@ -156,7 +156,7 @@ jobs:
|
||||
matrix:
|
||||
# Local function to expand python entries:
|
||||
python =:
|
||||
fn(a0 a1 a2 a3)::
|
||||
fn(a0 a1 a2 a3 os)::
|
||||
pythonv:: a0
|
||||
cibw_pyv:: a1
|
||||
cibw_arch:: a2
|
||||
@@ -164,24 +164,24 @@ jobs:
|
||||
name:: "python/$a0/linux/$a2"
|
||||
sfx:: "python$a0_linux$a2" # suffix
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os:: os
|
||||
config:
|
||||
#- ! python('3.13' 313 'x86_64' 'manylinux_x86_64')
|
||||
#- ! python('3.13' 313 'i686' 'manylinux_i686')
|
||||
- ! python('3.12' 312 'x86_64' 'manylinux_x86_64')
|
||||
- ! python('3.12' 312 'i686' 'manylinux_i686')
|
||||
- ! python('3.11' 311 'x86_64' 'manylinux_x86_64')
|
||||
- ! python('3.11' 311 'i686' 'manylinux_i686')
|
||||
- ! python('3.10' 310 'x86_64' 'manylinux_x86_64')
|
||||
- ! python('3.10' 310 'i686' 'manylinux_i686')
|
||||
- ! python('3.9' 39 'x86_64' 'manylinux_x86_64')
|
||||
- ! python('3.9' 39 'i686' 'manylinux_i686')
|
||||
- ! python('3.8' 38 'x86_64' 'manylinux_x86_64')
|
||||
- ! python('3.8' 38 'i686' 'manylinux_i686')
|
||||
- ! python('3.7' 37 'x86_64' 'manylinux_x86_64')
|
||||
- ! python('3.7' 37 'i686' 'manylinux_i686')
|
||||
- ! python('3.6' 36 'x86_64' 'manylinux_x86_64')
|
||||
- ! python('3.6' 36 'i686' 'manylinux_i686')
|
||||
#- ! python('3.13' 313 'x86_64' 'manylinux_x86_64' 'ubuntu-24.04')
|
||||
#- ! python('3.13' 313 'i686' 'manylinux_i686' 'ubuntu-24.04')
|
||||
- ! python('3.12' 312 'x86_64' 'manylinux_x86_64' 'ubuntu-24.04')
|
||||
- ! python('3.12' 312 'i686' 'manylinux_i686' 'ubuntu-24.04')
|
||||
- ! python('3.11' 311 'x86_64' 'manylinux_x86_64' 'ubuntu-24.04')
|
||||
- ! python('3.11' 311 'i686' 'manylinux_i686' 'ubuntu-24.04')
|
||||
- ! python('3.10' 310 'x86_64' 'manylinux_x86_64' 'ubuntu-24.04')
|
||||
- ! python('3.10' 310 'i686' 'manylinux_i686' 'ubuntu-24.04')
|
||||
- ! python('3.9' 39 'x86_64' 'manylinux_x86_64' 'ubuntu-24.04')
|
||||
- ! python('3.9' 39 'i686' 'manylinux_i686' 'ubuntu-24.04')
|
||||
- ! python('3.8' 38 'x86_64' 'manylinux_x86_64' 'ubuntu-24.04')
|
||||
- ! python('3.8' 38 'i686' 'manylinux_i686' 'ubuntu-24.04')
|
||||
- ! python('3.7' 37 'x86_64' 'manylinux_x86_64' 'ubuntu-22.04')
|
||||
- ! python('3.7' 37 'i686' 'manylinux_i686' 'ubuntu-22.04')
|
||||
#- ! python('3.6' 36 'x86_64' 'manylinux_x86_64' 'ubuntu-22.04')
|
||||
#- ! python('3.6' 36 'i686' 'manylinux_i686' 'ubuntu-22.04')
|
||||
# the windows builds are disabled because they are causing problems and
|
||||
# preventing the release.
|
||||
# the problems are related to CMakeExtension forcing the use of Ninja
|
||||
|
||||
4
.github/workflows-in/samples.ys
vendored
4
.github/workflows-in/samples.ys
vendored
@@ -11,8 +11,8 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- {bt: Debug , os: ubuntu-20.04}
|
||||
- {bt: Release, os: ubuntu-20.04}
|
||||
- {bt: Debug , os: ubuntu-24.04}
|
||||
- {bt: Release, os: ubuntu-24.04}
|
||||
- {bt: Debug , os: windows-2019}
|
||||
- {bt: Release, os: windows-2019}
|
||||
- {bt: Debug , os: macos-latest}
|
||||
|
||||
72
.github/workflows/install.yml
vendored
72
.github/workflows/install.yml
vendored
@@ -32,36 +32,36 @@ jobs:
|
||||
include:
|
||||
- name: find_package/linux
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: g++-10
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-10
|
||||
os: ubuntu-24.04
|
||||
cxx: g++-13
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-13
|
||||
tgt: all
|
||||
bt: Release
|
||||
vars: -Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml -DRYML_TEST_INSTALL_PACKAGE_MODE=ON
|
||||
commonvars: null
|
||||
- name: find_package/linux
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: g++-10
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-10
|
||||
os: ubuntu-24.04
|
||||
cxx: g++-13
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-13
|
||||
tgt: all
|
||||
bt: Debug
|
||||
vars: -Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml -DRYML_TEST_INSTALL_PACKAGE_MODE=ON
|
||||
commonvars: null
|
||||
- name: find_package/linux/libcxx
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: clang++-9
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-9
|
||||
os: ubuntu-24.04
|
||||
cxx: clang++-14
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-14
|
||||
tgt: all
|
||||
bt: Release
|
||||
vars: -Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml -DRYML_TEST_INSTALL_PACKAGE_MODE=ON
|
||||
commonvars: -DRYML_USE_LIBCXX=ON
|
||||
- name: find_package/linux/libcxx
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: clang++-9
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-9
|
||||
os: ubuntu-24.04
|
||||
cxx: clang++-14
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-14
|
||||
tgt: all
|
||||
bt: Debug
|
||||
vars: -Dryml_DIR=$GITHUB_WORKSPACE/$PDIR/lib/cmake/ryml -DRYML_TEST_INSTALL_PACKAGE_MODE=ON
|
||||
@@ -104,36 +104,36 @@ jobs:
|
||||
commonvars: null
|
||||
- name: find_library/linux
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: g++-10
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-10
|
||||
os: ubuntu-24.04
|
||||
cxx: g++-13
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-13
|
||||
tgt: all
|
||||
bt: Release
|
||||
vars: -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR -DRYML_TEST_INSTALL_PACKAGE_MODE=OFF
|
||||
commonvars: null
|
||||
- name: find_library/linux
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: g++-10
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-10
|
||||
os: ubuntu-24.04
|
||||
cxx: g++-13
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-13
|
||||
tgt: all
|
||||
bt: Debug
|
||||
vars: -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR -DRYML_TEST_INSTALL_PACKAGE_MODE=OFF
|
||||
commonvars: null
|
||||
- name: find_library/linux/libcxx
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: clang++-9
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-9
|
||||
os: ubuntu-24.04
|
||||
cxx: clang++-14
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-14
|
||||
tgt: all
|
||||
bt: Release
|
||||
vars: -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR -DRYML_TEST_INSTALL_PACKAGE_MODE=OFF
|
||||
commonvars: -DRYML_USE_LIBCXX=ON
|
||||
- name: find_library/linux/libcxx
|
||||
sdir: test/test_install
|
||||
os: ubuntu-20.04
|
||||
cxx: clang++-9
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-9
|
||||
os: ubuntu-24.04
|
||||
cxx: clang++-14
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-14
|
||||
tgt: all
|
||||
bt: Debug
|
||||
vars: -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/$PDIR -DRYML_TEST_INSTALL_PACKAGE_MODE=OFF
|
||||
@@ -176,36 +176,36 @@ jobs:
|
||||
commonvars: null
|
||||
- name: singleheader/linux
|
||||
sdir: test/test_singleheader
|
||||
os: ubuntu-20.04
|
||||
cxx: g++-10
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-10
|
||||
os: ubuntu-24.04
|
||||
cxx: g++-13
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-13
|
||||
tgt: all
|
||||
bt: Release
|
||||
vars: null
|
||||
commonvars: null
|
||||
- name: singleheader/linux
|
||||
sdir: test/test_singleheader
|
||||
os: ubuntu-20.04
|
||||
cxx: g++-10
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-10
|
||||
os: ubuntu-24.04
|
||||
cxx: g++-13
|
||||
gen: -DCMAKE_CXX_COMPILER=g++-13
|
||||
tgt: all
|
||||
bt: Debug
|
||||
vars: null
|
||||
commonvars: null
|
||||
- name: singleheader/linux/libcxx
|
||||
sdir: test/test_singleheader
|
||||
os: ubuntu-20.04
|
||||
cxx: clang++-9
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-9
|
||||
os: ubuntu-24.04
|
||||
cxx: clang++-14
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-14
|
||||
tgt: all
|
||||
bt: Release
|
||||
vars: null
|
||||
commonvars: -DRYML_USE_LIBCXX=ON
|
||||
- name: singleheader/linux/libcxx
|
||||
sdir: test/test_singleheader
|
||||
os: ubuntu-20.04
|
||||
cxx: clang++-9
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-9
|
||||
os: ubuntu-24.04
|
||||
cxx: clang++-14
|
||||
gen: -DCMAKE_CXX_COMPILER=clang++-14
|
||||
tgt: all
|
||||
bt: Debug
|
||||
vars: null
|
||||
|
||||
52
.github/workflows/release.yml
vendored
52
.github/workflows/release.yml
vendored
@@ -166,18 +166,18 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
config:
|
||||
- name: Ubuntu 24.04 deb
|
||||
sfxg: unix64.deb
|
||||
sfxp: ubuntu-24.04.deb
|
||||
gen: DEB
|
||||
mime: vnd.debian.binary-package
|
||||
os: ubuntu-24.04
|
||||
- name: Ubuntu 22.04 deb
|
||||
sfxg: unix64.deb
|
||||
sfxp: ubuntu-22.04.deb
|
||||
gen: DEB
|
||||
mime: vnd.debian.binary-package
|
||||
os: ubuntu-22.04
|
||||
- name: Ubuntu 20.04 deb
|
||||
sfxg: unix64.deb
|
||||
sfxp: ubuntu-20.04.deb
|
||||
gen: DEB
|
||||
mime: vnd.debian.binary-package
|
||||
os: ubuntu-20.04
|
||||
- name: Windows VS2019 zip
|
||||
sfxg: win64.zip
|
||||
sfxp: windows-vs2019.zip
|
||||
@@ -297,7 +297,7 @@ jobs:
|
||||
name: python/3.12/linux/x86_64
|
||||
sfx: python3.12_linuxx86_64
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.12'
|
||||
cibw_pyv: 312
|
||||
cibw_arch: i686
|
||||
@@ -305,7 +305,7 @@ jobs:
|
||||
name: python/3.12/linux/i686
|
||||
sfx: python3.12_linuxi686
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.11'
|
||||
cibw_pyv: 311
|
||||
cibw_arch: x86_64
|
||||
@@ -313,7 +313,7 @@ jobs:
|
||||
name: python/3.11/linux/x86_64
|
||||
sfx: python3.11_linuxx86_64
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.11'
|
||||
cibw_pyv: 311
|
||||
cibw_arch: i686
|
||||
@@ -321,7 +321,7 @@ jobs:
|
||||
name: python/3.11/linux/i686
|
||||
sfx: python3.11_linuxi686
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.10'
|
||||
cibw_pyv: 310
|
||||
cibw_arch: x86_64
|
||||
@@ -329,7 +329,7 @@ jobs:
|
||||
name: python/3.10/linux/x86_64
|
||||
sfx: python3.10_linuxx86_64
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.10'
|
||||
cibw_pyv: 310
|
||||
cibw_arch: i686
|
||||
@@ -337,7 +337,7 @@ jobs:
|
||||
name: python/3.10/linux/i686
|
||||
sfx: python3.10_linuxi686
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.9'
|
||||
cibw_pyv: 39
|
||||
cibw_arch: x86_64
|
||||
@@ -345,7 +345,7 @@ jobs:
|
||||
name: python/3.9/linux/x86_64
|
||||
sfx: python3.9_linuxx86_64
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.9'
|
||||
cibw_pyv: 39
|
||||
cibw_arch: i686
|
||||
@@ -353,7 +353,7 @@ jobs:
|
||||
name: python/3.9/linux/i686
|
||||
sfx: python3.9_linuxi686
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.8'
|
||||
cibw_pyv: 38
|
||||
cibw_arch: x86_64
|
||||
@@ -361,7 +361,7 @@ jobs:
|
||||
name: python/3.8/linux/x86_64
|
||||
sfx: python3.8_linuxx86_64
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.8'
|
||||
cibw_pyv: 38
|
||||
cibw_arch: i686
|
||||
@@ -369,7 +369,7 @@ jobs:
|
||||
name: python/3.8/linux/i686
|
||||
sfx: python3.8_linuxi686
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- pythonv: '3.7'
|
||||
cibw_pyv: 37
|
||||
cibw_arch: x86_64
|
||||
@@ -377,7 +377,7 @@ jobs:
|
||||
name: python/3.7/linux/x86_64
|
||||
sfx: python3.7_linuxx86_64
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
- pythonv: '3.7'
|
||||
cibw_pyv: 37
|
||||
cibw_arch: i686
|
||||
@@ -385,23 +385,7 @@ jobs:
|
||||
name: python/3.7/linux/i686
|
||||
sfx: python3.7_linuxi686
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
- pythonv: '3.6'
|
||||
cibw_pyv: 36
|
||||
cibw_arch: x86_64
|
||||
cibw_platform: manylinux_x86_64
|
||||
name: python/3.6/linux/x86_64
|
||||
sfx: python3.6_linuxx86_64
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
- pythonv: '3.6'
|
||||
cibw_pyv: 36
|
||||
cibw_arch: i686
|
||||
cibw_platform: manylinux_i686
|
||||
name: python/3.6/linux/i686
|
||||
sfx: python3.6_linuxi686
|
||||
osname: linux
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-22.04
|
||||
steps:
|
||||
- name: checkout (action)
|
||||
uses: actions/checkout@v4
|
||||
|
||||
4
.github/workflows/samples.yml
vendored
4
.github/workflows/samples.yml
vendored
@@ -28,9 +28,9 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- bt: Debug
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- bt: Release
|
||||
os: ubuntu-20.04
|
||||
os: ubuntu-24.04
|
||||
- bt: Debug
|
||||
os: windows-2019
|
||||
- bt: Release
|
||||
|
||||
@@ -7,6 +7,10 @@ find_package(Python REQUIRED COMPONENTS Interpreter)
|
||||
# thirdparty libs that will be compared with ryml
|
||||
|
||||
set(_ed ${CMAKE_CURRENT_BINARY_DIR}/subprojects) # casual ryml extern dir (these projects are not part of ryml and are downloaded and compiled on the fly)
|
||||
if(NOT (CMAKE_VERSION VERSION_LESS "4.0.0"))
|
||||
c4_log(STATUS "setting CMAKE_POLICY_VERSION_MINIMUM=3.5 to compile benchmarked libs")
|
||||
set(CMAKE_POLICY_VERSION_MINIMUM 3.5 CACHE STRING "" FORCE)
|
||||
endif()
|
||||
|
||||
# libyaml
|
||||
c4_require_subproject(libyaml REMOTE
|
||||
|
||||
@@ -29,3 +29,4 @@
|
||||
!tag : !tag
|
||||
```
|
||||
- [PR#501](https://github.com/biojppm/rapidyaml/pull/501): fix missing tag in `- !!seq []`.
|
||||
- [PR#508](https://github.com/biojppm/rapidyaml/pull/508): fix build with cmake 4.
|
||||
|
||||
Submodule ext/c4core updated: b04999cf4f...95868c77bc
Reference in New Issue
Block a user