diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 70601e93..1fb93016 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -25,7 +25,6 @@ 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 @@ -33,7 +32,7 @@ jobs: # Build doxygen documentation Build-Doxygen: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - name: Install dependencies @@ -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: @@ -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 @@ -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 + diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6bbe47ad..b0c7a909 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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 @@ -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