Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 27 additions & 7 deletions .github/workflows/mynewt.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# For development, trigger this on any push.
on:
push:
branches:
Expand All @@ -21,19 +20,40 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: 'stable'
- uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
release: '15.2.Rel1'
- name: Print the environment
run: |
uname -a
lscpu
free
pwd
- name: Signed commit check
if: ${{ github.event_name == 'pull_request' }}
- name: Native setup
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib
- name: Install newt
shell: bash
run: |
./ci/check-signed-off-by.sh
- name: Mynewt install
go version
go install mynewt.apache.org/newt/newt@latest
newt version
- name: Setup Mynewt
shell: bash
run: |
./ci/mynewt_install.sh
newt new build
rm build/targets/* -rf
cp -r ci/mynewt_targets/* build/targets
cp -f ci/mynewt_project.yml build/project.yml
cd build
newt upgrade --shallow=1
rm -rf repos/mcuboot
git clone .. repos/mcuboot
- name: Mynewt run
shell: bash
run: |
./ci/mynewt_run.sh
cd build
newt build `ls targets`
newt test @mcuboot/boot/boot_serial
80 changes: 0 additions & 80 deletions ci/mynewt_install.sh

This file was deleted.

1 change: 1 addition & 0 deletions ci/mynewt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ project.repositories.allowed:
- mbedtls
- nordic-nrfx
- arm-CMSIS_5
- mcuboot
33 changes: 0 additions & 33 deletions ci/mynewt_run.sh

This file was deleted.

1 change: 1 addition & 0 deletions ci/mynewt_targets/basic/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ syscfg.vals:
UART_0: 0
BOOTUTIL_BOOTSTRAP: 0
MBEDTLS_NIST_KW_C: 0
BSP_BOOTLOADER_48K: 1
Loading