Skip to content

Commit

Permalink
testing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
asaezper authored Oct 24, 2024
1 parent 9d5dd74 commit 1faa6f6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,22 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
compiler: [gcc, clang]
os: [ubuntu-24.04]
compiler: [clang]
steps:
- uses: actions/checkout@v3
- name: Build srsRAN Project on x86 ${{ matrix.os }}
- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y cmake make gcc g++ pkg-config libfftw3-dev libmbedtls-dev libsctp-dev libyaml-cpp-dev libgtest-dev ninja-build
mkdir build && cd build && cmake -DENABLE_UHD=False -GNinja .. && ninja && ctest
sudo docker/scripts/install_dependencies.sh
- name: Build srsRAN Project on x86 ${{ matrix.os }} with compiler ${{ matrix.compiler }}
run: |
sudo docker/scripts/builder.sh -c ${{ matrix.compiler }} -m "-j$(nproc) install" .
- name: Run unit tests
run: |
cd build && ctest -j$(nproc) --schedule-random --output-on-failure --output-junit xunit.xml
- name: Report test results
uses: dorny/test-reporter@v1
with:
name: Unit Tests
path: build/xunit.xml
reporter: jest-junit
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
docker:
if: ${{ vars.SKIP_DOCKER_JOB != 'true' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 1faa6f6

Please sign in to comment.