Merge pull request #34 from embedd-actions/3.0.2-branch

3.0.2 branch
This commit is contained in:
Sergey
2025-12-03 14:37:19 +03:00
committed by GitHub
6 changed files with 34 additions and 7 deletions

View File

@@ -13,6 +13,19 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Free disk space
run: |
echo "Initial disk usage:"
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
echo "After cleanup:"
df -h
- name: Docker meta - name: Docker meta
id: meta id: meta
@@ -40,3 +53,10 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
no-cache: true
- name: Cleanup Docker
if: always()
run: |
docker system prune -af || true
df -h

View File

@@ -1,7 +1,7 @@
FROM debian:stable-slim FROM debian:stable-slim
#ARG ARCH=amd64 #ARG ARCH=amd64
ARG NRF_CONNECT_TAG=v3.0.1 ARG NRF_CONNECT_TAG=v3.0.2
# Should be for selected NRF_CONNECT_TAG # Should be for selected NRF_CONNECT_TAG
ARG ZEPHYR_NEEDED_TAG=0.17.0 ARG ZEPHYR_NEEDED_TAG=0.17.0
# For new versions - xz # For new versions - xz
@@ -48,7 +48,7 @@ RUN ARCH="$(dpkg --print-architecture)" && \
-y && \ -y && \
# Remove apt cache # Remove apt cache
rm -rf /var/cache/apt && \ rm -rf /var/cache/apt && \
pip3 install --upgrade pip --break-system-packages && \ # pip3 install --upgrade pip --break-system-packages && \
# Create work directory # Create work directory
mkdir /workdir && \ mkdir /workdir && \
# Get GN tools for matter # Get GN tools for matter

View File

@@ -14,7 +14,7 @@ jobs:
- name: Build - name: Build
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1 uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2
with: with:
board: <DK Board Name> board: <DK Board Name>
build_dir: build build_dir: build
@@ -35,6 +35,7 @@ uses: embedd-actions/nrf-connect-sdk-ci@v2.9.0
uses: embedd-actions/nrf-connect-sdk-ci@v2.9.1 uses: embedd-actions/nrf-connect-sdk-ci@v2.9.1
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.0 uses: embedd-actions/nrf-connect-sdk-ci@v3.0.0
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1 uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2
``` ```
## List of available tags ## List of available tags
@@ -54,4 +55,5 @@ v2.9.0
v2.9.1 v2.9.1
v3.0.0 v3.0.0
v3.0.1 v3.0.1
v3.0.2
``` ```

View File

@@ -11,9 +11,13 @@ inputs:
description: 'Building directory' description: 'Building directory'
required: true required: true
default: 'build' default: 'build'
add_flags:
description: 'Additional flags'
required: true
default: '--no-sysbuild'
runs: runs:
using: 'docker' using: 'docker'
image: 'docker://sergeyladanov/nrf-connect-sdk:v3.0.1' image: 'docker://sergeyladanov/nrf-connect-sdk:v3.0.2'
args: args:
- west - west
- build - build
@@ -21,7 +25,7 @@ runs:
- ${{ inputs.build_dir }} - ${{ inputs.build_dir }}
- . - .
- --pristine - --pristine
- --no-sysbuild
- --board - --board
- ${{ inputs.board }} - ${{ inputs.board }}
- ${{ input.add_flags }}

View File

@@ -7,6 +7,6 @@ services:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
- NRF_CONNECT_TAG=v3.0.1 - NRF_CONNECT_TAG=v3.0.2
- ZEPHYR_NEEDED_TAG=0.17.0 - ZEPHYR_NEEDED_TAG=0.17.0
- ZEPHYR_ARCHIVE_EXTENSION=gz - ZEPHYR_ARCHIVE_EXTENSION=gz

View File

@@ -4,4 +4,5 @@
/bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -t arm-zephyr-eabi /bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -t arm-zephyr-eabi
/bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -c /bin/bash /workdir/zephyr-sdk-${ZEPHYR_TAG}/setup.sh -c
exec $@ # exec $@
exec bash -c "$@"