File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 BUILD_TYPE : Debug
77
88jobs :
9- build :
9+ test_ubuntu :
10+ name : Test ${{matrix.os}}
1011 runs-on : ${{matrix.os}}
1112 strategy :
1213 matrix :
3637 working-directory : ${{github.workspace}}/build
3738 shell : bash
3839 run : ctest -C $BUILD_TYPE
40+
41+ test_debian :
42+ name : Test debian ${{matrix.os}}
43+ runs-on : ubuntu-latest
44+ container : debian:${{matrix.os}}
45+
46+ strategy :
47+ matrix :
48+ os : [bookworm, trixie]
49+
50+ steps :
51+ - uses : actions/checkout@v4
52+
53+ - name : Install dependencies
54+ shell : bash
55+ run : apt install libcunit1-dev
56+
57+ - name : Create Build Environment
58+ run : cmake -E make_directory ${{github.workspace}}/build
59+
60+ - name : Configure CMake
61+ shell : bash
62+ working-directory : ${{github.workspace}}/build
63+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
64+
65+ - name : Build
66+ working-directory : ${{github.workspace}}/build
67+ shell : bash
68+ run : cmake --build . --config $BUILD_TYPE
69+
70+ - name : Test
71+ working-directory : ${{github.workspace}}/build
72+ shell : bash
73+ run : ctest -C $BUILD_TYPE
You can’t perform that action at this time.
0 commit comments