1name: iut_zephyr_build
2
3on:
4  pull_request:
5    branches: [ main ]
6  schedule:
7    - cron: '0 20 * * 2,6'
8
9permissions: read-all
10
11jobs:
12  iut_zephyr_build:
13    runs-on: ubuntu-22.04
14    container:
15      image: ghcr.io/zephyrproject-rtos/ci:v0.26.4
16    env:
17      ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1
18
19    steps:
20      - name: Apply container owner mismatch workaround
21        run: |
22          # FIXME: The owner UID of the GITHUB_WORKSPACE directory may not
23          #        match the container user UID because of the way GitHub
24          #        Actions runner is implemented. Remove this workaround when
25          #        GitHub comes up with a fundamental fix for this problem.
26          git config --global --add safe.directory ${GITHUB_WORKSPACE}
27
28      - name: Checkout Zephyr
29        run:
30          west init
31
32      - name: Checkout Intel HAL
33        uses: actions/checkout@v4
34        with:
35          path: modules/hal/intel
36
37      - name: Build IUT Test for ISH 5.4.1
38        run:
39          west build -b intel_ish_5_4_1 modules/hal/intel/zephyr/iut_test -d iut_build_5_4_1
40
41      - name: Build IUT Test for ISH 5.6.0
42        run:
43          west build -b intel_ish_5_6_0 modules/hal/intel/zephyr/iut_test -d iut_build_5_6_0
44
45      - name: Build IUT Test for ISH 5.8.0
46        run:
47          west build -b intel_ish_5_8_0 modules/hal/intel/zephyr/iut_test -d iut_build_5_8_0
48