forked from 5G-MAG/srsRAN
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,711 changed files
with
162,573 additions
and
48,303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,42 @@ | ||
name: C/C++ CI | ||
on: push | ||
jobs: | ||
x86_ubuntu18_build: | ||
name: Build and test on x86 Ubuntu 18.04 | ||
x86_ubuntu_build: | ||
name: Build on x86 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
compiler: [gcc, clang] | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build srsRAN on x86 Ubuntu 18.04 | ||
run: | | ||
sudo apt update | ||
sudo apt install -y build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev colordiff ninja-build valgrind | ||
mkdir build && cd build && cmake -DRF_FOUND=True -GNinja .. && ninja && ctest | ||
x86_ubuntu16_build: | ||
name: Build and test on x86 Ubuntu 16.04 | ||
strategy: | ||
matrix: | ||
compiler: [gcc, clang] | ||
runs-on: ubuntu-16.04 | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-22.04, ubuntu-20.04] | ||
compiler: [gcc, clang] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build srsRAN on x86 Ubuntu 16.04 | ||
run: | | ||
sudo apt update | ||
sudo apt install -y build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev colordiff ninja-build valgrind | ||
mkdir build && cd build && cmake -DRF_FOUND=True -GNinja .. && ninja && ctest | ||
aarch64_ubuntu18_build: | ||
runs-on: ubuntu-18.04 | ||
- uses: actions/checkout@v3 | ||
- name: Build srsRAN on x86 ${{ matrix.os }} | ||
run: | | ||
sudo apt update | ||
sudo apt install -y build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev colordiff ninja-build valgrind | ||
mkdir build && cd build && cmake -DRF_FOUND=True -GNinja .. && ninja && ctest | ||
aarch64_ubuntu_build: | ||
name: Build on aarch64 | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04] | ||
compiler: [gcc, clang] | ||
include: | ||
- os: ubuntu-20.04 | ||
distro: ubuntu20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build srsRAN on aarch64 | ||
- uses: actions/checkout@v3 | ||
- name: Build srsRAN on aarch64 ${{ matrix.os }} | ||
uses: uraimo/run-on-arch-action@master | ||
with: | ||
architecture: aarch64 | ||
distribution: ubuntu18.04 | ||
arch: aarch64 | ||
distro: ${{ matrix.distro }} | ||
run: | | ||
export CTEST_PARALLEL_LEVEL=$(nproc --all) | ||
apt update | ||
apt install -y build-essential cmake libfftw3-dev libmbedtls-dev libpcsclite-dev libboost-program-options-dev libconfig++-dev libsctp-dev ninja-build | ||
ls -l && pwd && mkdir build && cd build && cmake -DRF_FOUND=True -GNinja .. && ninja | ||
ls -l && pwd && mkdir build && cd build && cmake -DRF_FOUND=True -GNinja .. && ninja |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "master" ] | ||
schedule: | ||
- cron: '38 10 * * 2' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'cpp' ] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt install -y \ | ||
build-essential \ | ||
cmake \ | ||
libfftw3-dev \ | ||
libmbedtls-dev \ | ||
libpcsclite-dev \ | ||
libboost-program-options-dev \ | ||
libconfig++-dev \ | ||
libsctp-dev \ | ||
libuhd-dev \ | ||
libzmq3-dev | ||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
||
# - run: | | ||
# echo "Run, Build Application using script" | ||
# ./location_of_script_within_repo/buildscript.sh | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.