From c094b0a8ed4f8d95107a6f06594ca80d6f9285d6 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 2 May 2023 13:12:35 +0200 Subject: [PATCH 1/2] ci: remove builds for Ubuntu 18.04 using github actions it seems that runners for Ubuntu 18.04 can't be found anymore. removing it from the actions. --- .github/workflows/ccpp.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index ae4a09655..491d3b350 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04] + os: [ubuntu-22.04, ubuntu-20.04] compiler: [gcc, clang] steps: - uses: actions/checkout@v3 @@ -23,13 +23,11 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, ubuntu-18.04] + os: [ubuntu-20.04] compiler: [gcc, clang] include: - os: ubuntu-20.04 distro: ubuntu20.04 - - os: ubuntu-18.04 - distro: ubuntu18.04 steps: - uses: actions/checkout@v3 - name: Build srsRAN on aarch64 ${{ matrix.os }} From 179f7d8d6933e9d1f92f92d49302bcce8242bb91 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 2 May 2023 13:13:24 +0200 Subject: [PATCH 2/2] asn1,test: add return value check for meas test --- lib/test/asn1/srsran_asn1_rrc_meas_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test/asn1/srsran_asn1_rrc_meas_test.cc b/lib/test/asn1/srsran_asn1_rrc_meas_test.cc index faab3b8dc..f068e7e9c 100644 --- a/lib/test/asn1/srsran_asn1_rrc_meas_test.cc +++ b/lib/test/asn1/srsran_asn1_rrc_meas_test.cc @@ -33,7 +33,7 @@ int meas_obj_test() cbit_ref bref(&rrc_msg[0], sizeof(rrc_msg)); ul_dcch_msg_s ul_dcch_msg; - ul_dcch_msg.unpack(bref); + TESTASSERT(ul_dcch_msg.unpack(bref) == SRSASN_SUCCESS); TESTASSERT(ul_dcch_msg.msg.type() == ul_dcch_msg_type_c::types::c1); TESTASSERT(ul_dcch_msg.msg.c1().type() == ul_dcch_msg_type_c::c1_c_::types::meas_report);