fix yocoto installation of cmake for usermerge feature #1
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
name: linux-aarch64 build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
linux-aarch64_build: | |
runs-on: [self-hosted] | |
steps: | |
- name: cleanup | |
run: rm -rf ${{github.workspace}}/work/ | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
path: ${{github.workspace}}/work/librsu | |
fetch-depth: 2 | |
- name: configure and build | |
uses: intel-innersource/[email protected] | |
with: | |
resources: | | |
arm_gnu/linaro/aarch64/9.2 | |
cmake/3.24.0 | |
ninja/1.10.2 | |
script: | | |
cmake -S ${{github.workspace}}/work/librsu -B ${{github.workspace}}/work/build -DPLATFORM=linux-aarch64 -G"Ninja" | |
cmake --build ${{github.workspace}}/work/build | |
- name: deploy library | |
uses: intel-innersource/[email protected] | |
with: | |
resources: | | |
arm_gnu/linaro/aarch64/9.2 | |
cmake/3.24.0 | |
ninja/1.10.2 | |
script: | | |
set -ex | |
cmake --install ${{github.workspace}}/work/build --prefix=${{github.workspace}}/work/deploy -v --component uniLibRSU_lib_Runtime | |
test -f "${{github.workspace}}/work/deploy/usr/lib/libuniLibRSU.so.$(cat ${{github.workspace}}/work/build/CMakeCache.txt | grep CMAKE_PROJECT_VERSION_MAJOR | cut -d "=" -f2)" | |
test -f "${{github.workspace}}/work/deploy/usr/include/RSU_OSAL_types.h" | |
test -f "${{github.workspace}}/work/deploy/usr/include/libRSU.h" | |
test -f "${{github.workspace}}/work/deploy/usr/include/libRSU_OSAL.h" | |
test -f "${{github.workspace}}/work/deploy/etc/librsu.rc" | |
- name: deploy client application | |
uses: intel-innersource/[email protected] | |
with: | |
resources: | | |
arm_gnu/linaro/aarch64/9.2 | |
cmake/3.24.0 | |
ninja/1.10.2 | |
script: | | |
set -ex | |
cmake --install ${{github.workspace}}/work/build --prefix=${{github.workspace}}/work/deploy -v --component uniLibRSU_client_Runtime_GSRD | |
test -x "${{github.workspace}}/work/deploy/usr/bin/rsu_client" |