Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 31 additions & 4 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ jobs:
VALIDATE_YAML: true
VALIDATE_PYTHON: true
VALIDATE_MARKDOWN: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_ENV: true
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_SHELL_SHFMT: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Build doxygen documentation
Build-Doxygen:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -46,7 +45,7 @@ jobs:

# Build EM-ODP and run robot tests on github hosted ubuntu runner
Build-Run-on-Ubuntu-Runner:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -72,7 +71,7 @@ jobs:
sudo /bin/bash ./scripts/robot_test.sh

Cross-Compile-for-arm64:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Cross-compile EM-ODP for arm64
Expand All @@ -87,3 +86,31 @@ jobs:
-e TARGET_ARCH=aarch64-linux-gnu
ghcr.io/opendataplane/odp-docker-images/odp-ci-ubuntu_18.04-arm64
/root/em-odp/scripts/build.sh

# Build EM-ODP and run robot tests on github hosted ubuntu arm64 runner
Build-Run-on-Ubuntu-arm64-Runner:
runs-on: ubuntu-22.04-arm
strategy:
fail-fast: false
matrix:
cc: [gcc, clang]
env:
CC: "${{matrix.cc}}"
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libconfig-dev
sudo pip3 install robotframework
sudo apt-get install libcli-dev
sudo apt-get install telnet
- name: Checkout EM-ODP
uses: actions/checkout@v4
- name: Build EM-ODP
run: ./scripts/build.sh
- name: Run Robot Tests
run: |
sudo sysctl -w vm.nr_hugepages=512
grep Huge /proc/meminfo
sudo /bin/bash ./scripts/robot_test.sh

5 changes: 3 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
Documentation:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -31,8 +31,9 @@ jobs:
- name: Deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: crazy-max/ghaction-github-pages@v2.3.0
uses: crazy-max/ghaction-github-pages@v4
with:
allow_empty_commit: false
build_dir: ./doc/gh-pages
jekyll: false
target_branch: gh-pages