From 000081f1144b7b574906ea5c16316d284b0ed3b5 Mon Sep 17 00:00:00 2001 From: Himel Date: Thu, 11 Jan 2024 17:49:46 +1100 Subject: [PATCH] Add libffi7 for python 3.8 support (#92) * Add libffi7 for python 3.8 support * Add twister unit test check to workflows * use twister script instead west command for older branch support --- .github/workflows/publish-docker.yaml | 4 ++++ .github/workflows/verify.yaml | 4 ++++ Dockerfile | 7 +++++++ 3 files changed, 15 insertions(+) diff --git a/.github/workflows/publish-docker.yaml b/.github/workflows/publish-docker.yaml index 6e11e59..31c6afe 100644 --- a/.github/workflows/publish-docker.yaml +++ b/.github/workflows/publish-docker.yaml @@ -82,6 +82,10 @@ jobs: run: | docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} west build -b ${{ matrix.native_board }} zephyr/samples/hello_world + - name: Ensure zephyr twister unit tests works + run: | + docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} ./zephyr/scripts/twister -p ${{ matrix.native_board }} -T zephyr/samples/subsys/testsuite/integration + - name: Login to Docker Hub uses: docker/login-action@v2 with: diff --git a/.github/workflows/verify.yaml b/.github/workflows/verify.yaml index d770712..b021e7d 100644 --- a/.github/workflows/verify.yaml +++ b/.github/workflows/verify.yaml @@ -75,3 +75,7 @@ jobs: - name: Ensure native build works run: | docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} west build -b ${{ matrix.native_board }} zephyr/samples/hello_world + + - name: Ensure zephyr twister unit tests works + run: | + docker run --rm nordicplayground/nrfconnect-sdk:${{ matrix.sdk_nrf_branch }} ./zephyr/scripts/twister -p ${{ matrix.native_board }} -T zephyr/samples/subsys/testsuite/integration diff --git a/Dockerfile b/Dockerfile index 3e73631..682031d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,13 @@ RUN <