From 990d655adec16387d27b5d450c61dc1a06ec688f Mon Sep 17 00:00:00 2001 From: Ambroise Leclerc <6860842+ambroise-leclerc@users.noreply.github.com> Date: Mon, 30 Nov 2026 16:23:24 +0100 Subject: [PATCH 1/2] Point repository URLs at the Compliatory organization Compliatory now hosts MduX, TrustSC, SpecLab, mddlog and mddopts. GitHub redirects the old addresses; this names the current ones in build metadata and the README. ADRs, validation evidence and historical records are left as written. --- CMakeLists.txt | 2 +- README.md | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b965476..4cd2acd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) elseif(NOT DEFINED SPECLAB_PROJECT_VERSION) set(SPECLAB_PROJECT_VERSION "${SPECLAB_VERSION_DEFAULT}") endif() -project(speclab VERSION ${SPECLAB_PROJECT_VERSION} DESCRIPTION "Modern C++23 Modules Testing Framework for Medical Devices" HOMEPAGE_URL "https://github.com/ambroise-leclerc/speclab" LANGUAGES CXX) +project(speclab VERSION ${SPECLAB_PROJECT_VERSION} DESCRIPTION "Modern C++23 Modules Testing Framework for Medical Devices" HOMEPAGE_URL "https://github.com/Compliatory/speclab" LANGUAGES CXX) message(STATUS "CMAKE_EXPERIMENTAL_CXX_IMPORT_STD: ${CMAKE_EXPERIMENTAL_CXX_IMPORT_STD}") message(STATUS "Compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}") diff --git a/README.md b/README.md index 3072997..b830e9a 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ # SpecLab - Medical Device Testing Framework ![Status](https://img.shields.io/badge/status-experimental-orange) -[![Version](https://img.shields.io/github/v/tag/ambroise-leclerc/SpecLab?label=version)](https://github.com/ambroise-leclerc/SpecLab/releases) +[![Version](https://img.shields.io/github/v/tag/Compliatory/SpecLab?label=version)](https://github.com/Compliatory/SpecLab/releases) [![C++23](https://img.shields.io/badge/C%2B%2B-23%20modules-blue.svg)](https://en.cppreference.com/w/cpp/compiler_support) [![CMake](https://img.shields.io/badge/CMake-4.0%E2%80%934.4-green.svg)](https://cmake.org/) [![License: EUPL-1.2](https://img.shields.io/badge/License-EUPL--1.2-blue)](LICENSE) -[![Windows MSVC](https://img.shields.io/github/check-runs/ambroise-leclerc/SpecLab/develop?nameFilter=Windows%20MSVC%20%28windows-latest%2C%20x64%29&label=Windows%20MSVC)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) -[![Linux GCC 16.1](https://img.shields.io/github/check-runs/ambroise-leclerc/SpecLab/develop?nameFilter=Linux%20GCC%2016.1.0%20%28CMake%204.1.1%29&label=Linux%20GCC%2016.1)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) -[![Linux Clang 21](https://img.shields.io/github/check-runs/ambroise-leclerc/SpecLab/develop?nameFilter=Linux%20Clang%2021%20libc%2B%2B%20%28CMake%204.3.1%29&label=Linux%20Clang%2021)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) -[![macOS Apple Silicon](https://img.shields.io/github/check-runs/ambroise-leclerc/SpecLab/develop?nameFilter=macOS%2015%20arm64%20%28Clang%2021.1.8%2C%20libc%2B%2B%29&label=macOS%20Apple%20Silicon)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) +[![Windows MSVC](https://img.shields.io/github/check-runs/Compliatory/SpecLab/develop?nameFilter=Windows%20MSVC%20%28windows-latest%2C%20x64%29&label=Windows%20MSVC)](https://github.com/Compliatory/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) +[![Linux GCC 16.1](https://img.shields.io/github/check-runs/Compliatory/SpecLab/develop?nameFilter=Linux%20GCC%2016.1.0%20%28CMake%204.1.1%29&label=Linux%20GCC%2016.1)](https://github.com/Compliatory/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) +[![Linux Clang 21](https://img.shields.io/github/check-runs/Compliatory/SpecLab/develop?nameFilter=Linux%20Clang%2021%20libc%2B%2B%20%28CMake%204.3.1%29&label=Linux%20Clang%2021)](https://github.com/Compliatory/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) +[![macOS Apple Silicon](https://img.shields.io/github/check-runs/Compliatory/SpecLab/develop?nameFilter=macOS%2015%20arm64%20%28Clang%2021.1.8%2C%20libc%2B%2B%29&label=macOS%20Apple%20Silicon)](https://github.com/Compliatory/SpecLab/actions/workflows/ci.yml?query=branch%3Adevelop) -[![CI/CD](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/ci.yml) -[![Medical Device Validation](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/medical-validation.yml/badge.svg?branch=develop)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/medical-validation.yml) -[![Security](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/security.yml/badge.svg?branch=develop)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/security.yml) -[![Release](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/release.yml/badge.svg)](https://github.com/ambroise-leclerc/SpecLab/actions/workflows/release.yml) +[![CI/CD](https://github.com/Compliatory/SpecLab/actions/workflows/ci.yml/badge.svg?branch=develop)](https://github.com/Compliatory/SpecLab/actions/workflows/ci.yml) +[![Medical Device Validation](https://github.com/Compliatory/SpecLab/actions/workflows/medical-validation.yml/badge.svg?branch=develop)](https://github.com/Compliatory/SpecLab/actions/workflows/medical-validation.yml) +[![Security](https://github.com/Compliatory/SpecLab/actions/workflows/security.yml/badge.svg?branch=develop)](https://github.com/Compliatory/SpecLab/actions/workflows/security.yml) +[![Release](https://github.com/Compliatory/SpecLab/actions/workflows/release.yml/badge.svg)](https://github.com/Compliatory/SpecLab/actions/workflows/release.yml) SpecLab is a C++23 **named-modules** testing framework for medical device software. It offers Given/When/Then tests without macros, parameterized and benchmark tests, medical-device metadata @@ -26,7 +26,7 @@ traceability matrix. > software compliant with IEC 62304, ISO 13485 or ISO 14971, and it is not recommended for > production use. -Its main consumer is [MduX](https://github.com/ambroise-leclerc/MduX), a C++23 modules UI library +Its main consumer is [MduX](https://github.com/Compliatory/MduX), a C++23 modules UI library for medical devices, which uses it as a test-only dependency for its Given/When/Then suites. ## Supported platforms @@ -42,8 +42,8 @@ push and pull request. | macOS Apple Silicon | upstream Clang 21.1.8, libc++ (`brew install llvm@21`) | 4.3.1 | `--toolchain cmake/toolchains/macos-arm64-llvm.cmake` | Unsupported, and refused at configure time: -- **GCC 15** fails on libstdc++'s `std` module ([#9](https://github.com/ambroise-leclerc/SpecLab/issues/9)). -- **GCC 16.2.0** corrupts this tree's module BMIs ([#17](https://github.com/ambroise-leclerc/SpecLab/issues/17)). GCC 16.2.0 is not refused at configure time: its build fails. +- **GCC 15** fails on libstdc++'s `std` module ([#9](https://github.com/Compliatory/SpecLab/issues/9)). +- **GCC 16.2.0** corrupts this tree's module BMIs ([#17](https://github.com/Compliatory/SpecLab/issues/17)). GCC 16.2.0 is not refused at configure time: its build fails. - **AppleClang** has no `import std` module. - **macOS x86_64 or universal (`arm64;x86_64`) targets** have never been tested. The check uses `CMAKE_OSX_ARCHITECTURES` when it is set. @@ -333,7 +333,7 @@ and should be built with Ninja (see [Building SpecLab](#building-speclab)): # Pin a commit rather than a branch; the release tag is kept alongside as documentation. include(FetchContent) FetchContent_Declare(speclab - GIT_REPOSITORY https://github.com/ambroise-leclerc/SpecLab.git + GIT_REPOSITORY https://github.com/Compliatory/SpecLab.git GIT_TAG # e.g. the commit tagged v0.3.0 ) set(SPECLAB_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) @@ -356,7 +356,7 @@ After `cmake --install`, use `find_package(speclab CONFIG REQUIRED)` and the sam ## Building SpecLab ```bash -git clone https://github.com/ambroise-leclerc/SpecLab.git +git clone https://github.com/Compliatory/SpecLab.git cd SpecLab cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DSPECLAB_BUILD_EXAMPLES=ON cmake --build build --parallel @@ -452,8 +452,8 @@ organization's quality management system procedures. ## Support -- **Issues**: [GitHub Issues](https://github.com/ambroise-leclerc/SpecLab/issues) -- **Releases**: [GitHub Releases](https://github.com/ambroise-leclerc/SpecLab/releases) +- **Issues**: [GitHub Issues](https://github.com/Compliatory/SpecLab/issues) +- **Releases**: [GitHub Releases](https://github.com/Compliatory/SpecLab/releases) ## Roadmap @@ -462,7 +462,7 @@ organization's quality management system procedures. - [x] Windows, Linux (GCC and Clang) and macOS Apple Silicon in CI - [x] Self-tests run by `ctest` on every platform - [x] Collecting assertions (`Checks`), `require`, `Test`, and test registration with a `--list-tests` / `--run=` runner -- [x] Requirement, Feature and IEC62304Process builders that execute their tests ([#25](https://github.com/ambroise-leclerc/SpecLab/issues/25)) +- [x] Requirement, Feature and IEC62304Process builders that execute their tests ([#25](https://github.com/Compliatory/SpecLab/issues/25)) - [ ] Self-tests for the class-based API, `TestSuite`'s coverage gate and the reporters - [ ] Visual test reporting dashboard - [ ] Cryptographic audit trail signing From 738d4aca8f1c90fe7156401d27348fc1b423ee68 Mon Sep 17 00:00:00 2001 From: Ambroise Leclerc <6860842+ambroise-leclerc@users.noreply.github.com> Date: Mon, 30 Nov 2026 18:07:30 +0100 Subject: [PATCH 2/2] Fix ThreadSanitizer ASLR and stale MSVC build cache in CI --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17af822..95fe869 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,9 +79,10 @@ jobs: - name: Cache CMake build uses: actions/cache@v4 with: - path: | - build - ~/.cmake + # Only ~/.cmake: a restored build/ keeps CMakeCache.txt's absolute cl.exe path, which stops + # existing whenever the runner image updates its MSVC toolset ("is not a full path to an + # existing compiler tool"), and the key below does not change with the image. + path: ~/.cmake # matrix.os is part of the key: windows-2022 and windows-latest ship different Visual # Studio versions, and a build/ directory restored from one records the other's cl.exe # path in CMakeCache.txt ("is not a full path to an existing compiler tool"). @@ -380,7 +381,9 @@ jobs: runs-on: ubuntu-latest container: image: gcc:16.1.0 - options: --user root + # seccomp=unconfined: ThreadSanitizer re-execs with ASLR disabled, which Docker's default + # seccomp profile forbids; recent runner kernels need that re-exec ("unable to disable ASLR"). + options: --user root --security-opt seccomp=unconfined steps: - name: Install dependencies