Skip to content

prebuild: update IPL binaries for Gen3/Gen4 #206

prebuild: update IPL binaries for Gen3/Gen4

prebuild: update IPL binaries for Gen3/Gen4 #206

Workflow file for this run

name: Build and test
on:
push:
branches:
- main
- develop
- feature_*
pull_request:
branches:
- main
- develop
- feature_*
jobs:
build:
runs-on: ubuntu-latest
container: zephyrprojectrtos/ci:latest
env:
CMAKE_PREFIX_PATH: /opt/toolchains
strategy:
matrix:
platform:
[rcar_spider, rcar_salvator_xs_m3, rcar_h3ulcb_ca57, native_posix, native_posix_64]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Initialize
run: |
sudo apt update
ln -ns /opt/protoc/include/google /usr/local/include
west init -l ./
west update
west zephyr-export
- name: Build ${{ matrix.platform }}
if: "!startsWith(matrix.platform, 'native')"
run: |
west build -b ${{ matrix.platform }} -p always -- -DSHIELD=xen_dom0
- name: Build ${{ matrix.platform }}
if: startsWith(matrix.platform, 'native')
run: |
west build -b ${{ matrix.platform }} -p always
- name: Test ${{ matrix.platform }}
if: matrix.platform == 'native_posix'
run: |
west twister -c -v -p ${{ matrix.platform }} -T tests
- name: Test ${{ matrix.platform }}
if: matrix.platform == 'native_posix_64'
run: |
west twister -c -v -p ${{ matrix.platform }} --coverage --coverage-basedir src/ --coverage-tool gcovr -T tests
gcovr twister-out/${{ matrix.platform }}/ -f src/ --xml-pretty > ./coverage.xml
- name: Upload codecov report
if: startsWith(matrix.platform, 'native_posix_64')
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml