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 :
45+ image : debian:${{matrix.os}}
46+ volumes :
47+ - ${{github.workspace}}:${{github.workspace}}
48+
49+ strategy :
50+ matrix :
51+ os : [bookworm, trixie]
52+
53+ steps :
54+ - uses : actions/checkout@v4
55+
56+ - name : Install dependencies
57+ shell : bash
58+ run : apt update && apt install build-essential cmake libcunit1-dev --yes
59+
60+ - name : Create Build Environment
61+ run : cmake -E make_directory ${{github.workspace}}/build
62+
63+ - name : Configure CMake
64+ shell : bash
65+ working-directory : ${{github.workspace}}/build
66+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
67+
68+ - name : Build
69+ working-directory : ${{github.workspace}}/build
70+ shell : bash
71+ run : cmake --build . --config $BUILD_TYPE
72+
73+ - name : Test
74+ working-directory : ${{github.workspace}}/build
75+ shell : bash
76+ run : ctest -C $BUILD_TYPE
You can’t perform that action at this time.
0 commit comments