2121 include:
2222 - {std: 17, comp: gcc14 , os: ubuntu-24.04, cmkflags: -DCMAKE_CXX_COMPILER=g++-14 -DCMAKE_C_COMPILER=gcc-14}
2323 - {std: 17, comp: clang18, os: ubuntu-24.04, cmkflags: -DCMAKE_CXX_COMPILER=clang++-18 -DCMAKE_C_COMPILER=clang-18}
24- #- {std: 17, comp: vs2019 , os: windows-2019, cmkflags: -G 'Visual Studio 16 2019' -A x64}
25- - {std: 17, comp: vs2022 , os: windows-2022, cmkflags: -G 'Visual Studio 17 2022' -A x64}
26- - {std: 17, comp: xcode15, os: macos-15-intel, xcver: 16, cmkflags: -G Xcode -DCMAKE_OSX_ARCHITECTURES=x86_64}
24+ - {std: 17, comp: vs2026 , os: windows-2025, cmkflags: -G 'Visual Studio 18 2026' -A x64}
25+ - {std: 17, comp: xcode16, os: macos-15-intel, xcver: 16, cmkflags: -G Xcode -DCMAKE_OSX_ARCHITECTURES=x86_64}
2726 env:: +{'BM' 'ON'} + load('share/env.yaml')
2827 steps:
2928 - :: checkout-action
@@ -41,16 +40,16 @@ jobs:
4140 which pip
4241 python --version
4342 pip --version
44- pip install -v -r ext/c4core/cmake /bm-xp/requirements.txt
43+ pip install -v -r proj/c4proj /bm-xp/requirements.txt
4544 python -c 'import munch ; print("ok!") ; exit(0)'
4645 echo $?
4746 - name: configure-------------------------------------------------
4847 run: |
4948 cmake -S . -B build \
5049 ${{matrix.cmkflags}} \
5150 -DPython_EXECUTABLE="$(which python)" \
52- -DC4_CXX_STANDARD =${{matrix.std}} \
53- -DRYML_CXX_STANDARD=${{matrix.std}} \
51+ -DCMAKE_CXX_STANDARD =${{matrix.std}} \
52+ -DCMAKE_BUILD_TYPE=Release \
5453 -DRYML_BUILD_BENCHMARKS=ON
5554 - name: build
5655 run: cmake --build build --config Release --parallel --verbose --target ryml-bm-build
@@ -60,19 +59,14 @@ jobs:
6059 run: cmake --build build --config Release --verbose --target ryml-bm-plot
6160 - name: gather benchmark results-------------------------------------------
6261 run: |
63- set -x
64- source vars.sh
65- echo SRC_TAG=$SRC_TAG
66- echo SRC_VERSION=$SRC_VERSION
67- desc=$SRC_TAG
68- for bl in ${{matrix.bitlinks}} ; do
69- dst=$(echo ryml-benchmark_results/$desc/x86_64/${{matrix.cxx}}-${{matrix.bt}}-c++${{matrix.std}}-$bl | sed 's:++-:xx:g' | sed 's:+:x:g')
70- mkdir -p $dst
71- find build -name bm-results
72- mv -vf build/$bl/bm/bm-results/* $dst/.
73- done
62+ set -xe
63+ desc=`cd proj/ ; make describe`
64+ dst=ryml-benchmark-results/$desc/x86_64/
65+ name=${{matrix.comp}}-Release-cxx${{matrix.std}}
66+ mkdir -p $dst
67+ mv -vf build/bm/bm-results/ $dst/$name
7468 - name: upload benchmark result artifacts
7569 uses: actions/upload-artifact@v7
7670 with:
77- name: ryml-benchmark_results- ${{strategy.job-index }}
78- path: ryml-benchmark_results /
71+ name: ryml-benchmark-results- ${{matrix.comp }}
72+ path: ryml-benchmark-results /
0 commit comments