File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222
2323jobs :
24+ test :
25+ runs-on : ubuntu-latest
26+ container : gcc:15
27+
28+ steps :
29+ - name : Install build dependencies
30+ run : |
31+ apt-get update -y
32+ apt-get install git cmake libboost-dev libicu-dev libpq-dev -y --no-install-recommends
33+
34+ - name : Checkout repository
35+ uses : actions/checkout@v6
36+ with :
37+ submodules : ' recursive'
38+
39+ - name : Configure CMake
40+ run : cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTS=ON
41+
42+ - name : Build
43+ run : cmake --build build --config RelWithDebInfo --parallel $(nproc)
44+
45+ - name : Run tests
46+ run : ctest --test-dir build --build-config RelWithDebInfo --output-on-failure --parallel $(nproc)
47+
2448 build :
2549 runs-on : ubuntu-latest
50+ needs : test
2651 permissions :
2752 contents : read
2853 packages : write
You can’t perform that action at this time.
0 commit comments