iot2050-eio-manager: add build depends libfuse2 and libgpiod2 #1192
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: CI | |
on: [push] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
debian-example-image: | |
name: Debian example image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Free Disk Space | |
uses: ./.github/workflows/free-disk-space | |
- name: Build image | |
run: ./kas-container build kas-iot2050-example.yml | |
- name: Upload image | |
uses: actions/upload-artifact@v3 | |
with: | |
name: iot2050-example-image | |
path: | | |
build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic | |
build/tmp/deploy/images/iot2050/iot2050-image-example-iot2050-debian-iot2050.wic.bmap | |
debian-swupdate-image: | |
name: Debian secure boot SWUpdate image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Free Disk Space | |
uses: ./.github/workflows/free-disk-space | |
- name: Mock EIO binary stubs | |
run: | | |
touch ./recipes-app/iot2050-eio-manager/files/bin/iot2050-eiofsd | |
touch ./recipes-app/iot2050-eio-manager/files/bin/map3-fw.bin | |
touch ./recipes-app/iot2050-eio-manager/files/bin/firmware-version | |
- name: Build image | |
run: ./kas-container build kas-iot2050-swupdate.yml:kas/opt/secure-boot.yml:kas/opt/preempt-rt.yml:kas/opt/eio.yml | |
- name: Upload image | |
uses: actions/upload-artifact@v3 | |
with: | |
name: iot2050-secureboot-swu-image | |
path: | | |
build/tmp/deploy/images/iot2050/iot2050-image-swu-example-iot2050-debian-iot2050.wic | |
build/tmp/deploy/images/iot2050/iot2050-image-swu-example-iot2050-debian-iot2050.wic.bmap | |
bootloaders: | |
name: Bootloaders | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Free Disk Space | |
uses: ./.github/workflows/free-disk-space | |
- name: Build bootloader image | |
run: ./kas-container build kas-iot2050-boot.yml | |
- name: Archive bootloaders | |
uses: actions/upload-artifact@v3 | |
with: | |
name: iot2050-bootloaders | |
path: build/tmp/deploy/images/iot2050/*.bin |