Skip to content

Commit 0e07d0d

Browse files
committed
change package compability to SameMinorVersion, update .github/workflows/build-nabla.yml
1 parent 250ab74 commit 0e07d0d

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/build-nabla.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,15 @@ jobs:
347347
Invoke-UpdateImages -Token $token
348348
349349
smoke-tests:
350-
name: smoke-windows
350+
name: Nabla / Smoke (${{ matrix.os }}, ${{ matrix.vendor }}-latest, ${{ matrix.config }})
351351
needs: build-windows
352352
runs-on: windows-2022
353353
strategy:
354354
fail-fast: false
355355
matrix:
356356
config: [Release, Debug, RelWithDebInfo]
357+
os: [windows-2022]
358+
vendor: [msvc]
357359
steps:
358360
- name: Checkout smoke
359361
uses: actions/checkout@v4
@@ -376,9 +378,11 @@ jobs:
376378
if (-not (Test-Path "smoke/build-ct/install")) { throw "smoke/build-ct/install not found" }
377379
tree.com smoke /F
378380
379-
- name: Build Smoke and run tests
380-
run: |
381-
cd smoke
382-
cmake . -B out
383-
cmake --build out --config ${{ matrix.config }}
384-
ctest --test-dir out --force-new-ctest-process --output-on-failure --no-tests=error -C ${{ matrix.config }}
381+
- name: Configure Smoke
382+
run: cmake -S smoke -B smoke/out
383+
384+
- name: Build Smoke
385+
run: cmake --build smoke/out --config ${{ matrix.config }}
386+
387+
- name: CTest Smoke
388+
run: ctest --test-dir smoke/out --force-new-ctest-process --output-on-failure --no-tests=error -C ${{ matrix.config }}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ install(TARGETS Nabla
288288
write_basic_package_version_file(
289289
"${CMAKE_CURRENT_BINARY_DIR}/NablaConfigVersion.cmake"
290290
VERSION ${PROJECT_VERSION}
291-
COMPATIBILITY SameMajorVersion
291+
COMPATIBILITY SameMinorVersion
292292
)
293293

294294
configure_package_config_file(

0 commit comments

Comments
 (0)