diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e35a440..94093ba 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,8 +21,9 @@ defaults: run: shell: bash + jobs: - unit_tests_windows: + windows_msvc: strategy: fail-fast: false matrix: @@ -44,7 +45,8 @@ jobs: working-directory: build run: ctest --verbose - unit_tests_msys2: + + windows_msys2: defaults: run: shell: msys2 {0} @@ -76,7 +78,8 @@ jobs: working-directory: build run: ctest --verbose - unit_tests_linux: + + linux: strategy: fail-fast: false matrix: @@ -90,9 +93,10 @@ jobs: docker_arch: i386 name: linux ${{ matrix.arch }} ${{ matrix.action }} / C++${{ matrix.cxx-std }} / gcc) - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest container: - image: ${{ matrix.docker_arch }}/debian:latest + # replace with debian 13 (or latest) when available + image: ${{ matrix.docker_arch }}/debian:testing options: --user root volumes: - ${{ github.workspace }}:/workspace @@ -123,7 +127,8 @@ jobs: working-directory: build run: valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./unit_tests - unit_tests_macos: + + macos: strategy: fail-fast: false matrix: diff --git a/a b/a new file mode 100644 index 0000000..c52c9d5 --- /dev/null +++ b/a @@ -0,0 +1,6 @@ +apt update +apt install -y build-essential cmake valgrind +cmake . -B build -DCMAKE_CXX_STANDARD=${{ matrix.cxx-std }} -DDYLIB_BUILD_TESTS=ON -DDYLIB_WARNING_AS_ERRORS=ON +cmake --build build +cd build +valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1 ./unit_tests \ No newline at end of file