Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Add libffi7 for python 3.8 support (#92)
Browse files Browse the repository at this point in the history
* Add libffi7 for python 3.8 support

* Add twister unit test check to workflows

* use twister script instead west command for older branch support
  • Loading branch information
Himel55 authored Jan 11, 2024
1 parent bbffe70 commit 000081f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ RUN <<EOT
apt-get -y install gcc-multilib make
EOT

#
# python 3.8 is installed by toolchain manager hence older version of libffi is required
#
RUN <<EOT
apt-get -y install libffi7
EOT

# Nordic command line tools
# Releases: https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download
RUN <<EOT
Expand Down

0 comments on commit 000081f

Please sign in to comment.