CI: Upgrade nrf project revision #352
Workflow file for this run
This file contains hidden or 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: Build Aliro App | ||
|
Check failure on line 1 in .github/workflows/build-aliro-app.yaml
|
||
| on: | ||
| pull_request: | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| - '**/README.md' | ||
| - 'LICENSE' | ||
| - 'CODEOWNERS' | ||
| - '.gitignore' | ||
| branches: | ||
| - main | ||
| workflow_dispatch: | ||
| inputs: | ||
| ncs_sdk_version: | ||
| default: v3.1.0 | ||
| description: NCS SDK version | ||
| type: string | ||
| aliro_app_folder: | ||
| default: app | ||
| description: Aliro application folder | ||
| type: string | ||
| workflow_call: | ||
| inputs: | ||
| ncs_sdk_version: | ||
| default: v3.1.0 | ||
| description: NCS SDK version | ||
| type: string | ||
| aliro_app_folder: | ||
| default: app | ||
| description: Aliro application folder | ||
| required: true | ||
| type: string | ||
| env: | ||
| board: nrf54l15dk/nrf54l15/cpuapp | ||
| ncs_sdk_version: ${{ inputs.ncs_sdk_version || github.event.inputs.ncs_sdk_version || v3.1.0 }} | ||
| aliro_app_folder: app | ||
| jobs: | ||
| build: | ||
| name: Build | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| - name: Setup sdk | ||
| id: setup-sdk | ||
| uses: ./.github/workflows/setup-sdk | ||
| with: | ||
| sdk_manager_version: 1.6.0 | ||
| nrf_util_url: "https://developer.nordicsemi.com/.pc-tools/nrfutil/x64-linux/nrfutil-launcher-x86_64-unknown-linux-gnu-1.2.0-9ca8c73" | ||
| ncs_sdk_version: ${{ env.ncs_sdk_version }} | ||
| ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
| - name: Build Aliro application | ||
| run: | | ||
| nrfutil sdk-manager toolchain launch --ncs-version ${{ env.ncs_sdk_version }} west zephyr-export | ||
| cd app | ||
| nrfutil sdk-manager toolchain launch --ncs-version ${{ env.ncs_sdk_version }} west build -- -b ${{ env.board }} | ||
| - name: Upload build result | ||
| if: always() | ||
| uses: actions/upload-artifact@v4 | ||
| env: | ||
| app_folder: ${{ inputs.aliro_app_folder || github.event.inputs.aliro_app_folder || env.aliro_app_folder }} | ||
| with: | ||
| name: build.zip | ||
| path: ${{ github.workspace }}/${{ env.app_folder }}/build | ||