34 Commits

Author SHA1 Message Date
Sergey
b4927c9eba Merge pull request #36 from jonathansmithinfact/fixwest
fix west building
2025-12-05 11:40:32 +03:00
Jonny Smith
4ceb7cf6a2 fix west building 2025-12-05 10:51:33 +13:00
Sergey
7e26793205 Update action.yml 2025-12-04 13:01:40 +03:00
Sergey
5e4f33e305 Merge pull request #34 from embedd-actions/3.0.2-branch
3.0.2 branch
2025-12-03 14:37:19 +03:00
Sergey
5132e45f05 Update image_publishing.yml 2025-12-03 13:49:42 +03:00
Sergey
47b2f2fbda Update Dockerfile 2025-12-03 13:01:40 +03:00
Sergey
9ac1a47691 Update nrf-connect-sdk-ci action version to v3.0.2 2025-12-03 12:59:16 +03:00
Sergey
3bd84c35fa Update Dockerfile 2025-12-03 12:57:08 +03:00
Sergey
84208cf690 Add v3.0.2 to nrf-connect-sdk-ci versions 2025-12-03 12:56:47 +03:00
Sergey
a133f06ff9 Update docker-compose.yml 2025-12-03 12:56:17 +03:00
Sergey
3cdd4a8cd8 Change exec command to use bash with arguments 2025-12-03 12:53:02 +03:00
Sergey
8a22869a17 Update action.yml 2025-12-03 12:51:58 +03:00
Sergey
43d4f89775 Add input for additional flags in action.yml 2025-12-03 12:51:23 +03:00
Sergey
a9451d4e8b Create LICENSE (#32) 2025-05-07 08:49:25 +03:00
Sergey
7eb31b0d9b Merge pull request #31 from embedd-actions/v3.0.1-branch
V3.0.1 branch
2025-05-06 13:56:53 +03:00
Sergey
f6a4aafd8b Update README.md 2025-05-06 13:17:50 +03:00
Sergey
f9c3cdbc17 Update action.yml 2025-05-06 13:16:55 +03:00
Sergey
07965d4d81 Update Dockerfile 2025-05-06 13:16:43 +03:00
Sergey
9f3c2b7414 Update docker-compose.yml 2025-05-06 13:15:09 +03:00
Sergey
6b1d9625c7 Merge pull request #30 from embedd-actions/v3.0.0-branch
V3.0.0 branch
2025-04-25 08:55:42 +03:00
Sergey
a621c08ba5 Update README.md 2025-04-25 08:14:45 +03:00
Sergey
9118dee0a1 Update docker-compose.yml 2025-04-25 08:14:13 +03:00
Sergey
b57318f8f3 Update Dockerfile 2025-04-25 08:13:42 +03:00
Sergey
ffdeac30b9 Update README.md 2025-04-25 08:12:11 +03:00
Sergey
63b20c1f92 Update action.yml 2025-04-25 08:10:28 +03:00
Sergey
1084bcbcc0 Merge pull request #29 from ParthSanepara/v2.9.1
add: support for NCS v2.9.1
2025-03-17 12:56:29 +03:00
Parth Sanepara
4901ffebc0 add: support for NCS v2.9.1 2025-03-10 15:25:11 +05:30
Sergey
5854e4b6fb Update Dockerfile 2025-01-14 12:23:41 +03:00
Sergey
43acc600fd Update README.md 2025-01-14 12:22:44 +03:00
Sergey
ad1b043176 Merge pull request #27 from ParthSanepara/v2.9.0
add support NCS V2.9.0
2025-01-14 12:22:06 +03:00
Sergey
bbb35ed2dd Merge pull request #26 from ParthSanepara/main
Add Support NCS V2.8.0
2025-01-14 10:36:16 +03:00
Parth Sanepara
b779cf68ae add support NCS V2.9.0 2024-12-20 13:47:54 +05:30
Parth Sanepara
16e4ae70f1 add redme file updated 2024-12-20 13:43:38 +05:30
Parth Sanepara
2d40d50b16 add Support ncs V2.8.0 2024-12-20 13:42:26 +05:30
7 changed files with 70 additions and 11 deletions

View File

@@ -13,6 +13,19 @@ jobs:
- name: Checkout code
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
id: meta
@@ -40,3 +53,10 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64
no-cache: true
- name: Cleanup Docker
if: always()
run: |
docker system prune -af || true
df -h

View File

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

21
LICENSE Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 Sergey Ladanov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -10,13 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
uses: embedd-actions/nrf-connect-sdk-ci@v2.7.0
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2
with:
board: nrf52833dk_nrf52833
board: <DK Board Name>
build_dir: build
```
@@ -30,6 +30,12 @@ uses: embedd-actions/nrf-connect-sdk-ci@v2.3.0
uses: embedd-actions/nrf-connect-sdk-ci@v2.4.0
uses: embedd-actions/nrf-connect-sdk-ci@v2.6.1
uses: embedd-actions/nrf-connect-sdk-ci@v2.7.0
uses: embedd-actions/nrf-connect-sdk-ci@v2.8.0
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@v3.0.0
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.1
uses: embedd-actions/nrf-connect-sdk-ci@v3.0.2
```
## List of available tags
@@ -43,4 +49,11 @@ v2.5.0
v2.5.1
v2.6.1
v2.7.0
v2.8.0
v2.8.0
v2.9.0
v2.9.1
v3.0.0
v3.0.1
v3.0.2
```

View File

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

View File

@@ -7,6 +7,6 @@ services:
context: .
dockerfile: Dockerfile
args:
- NRF_CONNECT_TAG=v2.7.0
- ZEPHYR_NEEDED_TAG=0.16.5-1
- NRF_CONNECT_TAG=v3.0.2
- ZEPHYR_NEEDED_TAG=0.17.0
- 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 -c
exec $@
# exec $@
exec "$@"