File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,22 @@ jobs:
1515 strategy :
1616 fail-fast : false
1717 matrix :
18- os : [ubuntu-22.04, ubuntu- 24.04]
19- compiler : [gcc, clang]
18+ os : [ubuntu-24.04]
19+ compiler : [clang]
2020 steps :
2121 - uses : actions/checkout@v3
22- - name : Build srsRAN Project on x86 ${{ matrix.os }}
22+ - name : Install Dependencies
2323 run : |
24- sudo apt update
25- sudo apt install -y cmake make gcc g++ pkg-config libfftw3-dev libmbedtls-dev libsctp-dev libyaml-cpp-dev libgtest-dev ninja-build
26- mkdir build && cd build && cmake -DENABLE_UHD=False -GNinja .. && ninja && ctest
24+ sudo docker/scripts/install_dependencies.sh
25+ - name : Build srsRAN Project on x86 ${{ matrix.os }} with compiler ${{ matrix.compiler }}
26+ run : |
27+ sudo docker/scripts/builder.sh -c ${{ matrix.compiler }} -m "-j$(nproc) install" .
28+ - name : Run unit tests
29+ run : |
30+ cd build && ctest -j$(nproc) --schedule-random --output-on-failure --output-junit xunit.xml
31+ - name : Report test results
32+ uses : dorny/test-reporter@v1
33+ with :
34+ name : Unit Tests
35+ path : build/xunit.xml
36+ reporter : jest-junit
Original file line number Diff line number Diff line change 99
1010jobs :
1111 docker :
12+ if : ${{ vars.SKIP_DOCKER_JOB != 'true' }}
1213 runs-on : ubuntu-latest
1314 strategy :
1415 matrix :
You can’t perform that action at this time.
0 commit comments