Skip to content
Merged
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
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@ jobs:
./nrfutil toolchain-manager launch --chdir serial_modem -- west twister -T . -v --inline-logs --overflow-as-errors --integration --exclude-tag exclude_integration

- name: Build Serial Modem nightly
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' }}
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
run: |
./nrfutil toolchain-manager launch --chdir serial_modem -- west twister -T . -v --inline-logs --overflow-as-errors --all

- name: Zip build artifacts
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' }}
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
working-directory: serial_modem
run: |
mkdir -p artifacts
mkdir -p artifacts_extras
VERSION=${{ github.event.release.tag_name || github.ref_name || 'unknown-version' }}
NRF9151DK_DIR=twister-out/nrf9151dk_nrf9151_ns/zephyr/serial_modem/app
NRF54L15DK_DIR=twister-out/nrf54l15dk_nrf54l15_cpuapp/zephyr/serial_modem/samples
NRF9151DK_DIR=twister-out/nrf9151dk_nrf9151_ns/zephyr_gnu/serial_modem/app
NRF54L15DK_DIR=twister-out/nrf54l15dk_nrf54l15_cpuapp/zephyr_gnu/serial_modem/samples

# Create release bundle: merged.hex, Kconfig, signed images, elf, DFU zip
zip_artifacts() {
Expand Down Expand Up @@ -135,14 +135,14 @@ jobs:
zip_artifacts "sm_ppp_shell" "${NRF54L15DK_DIR}/sm_ppp_shell/sample.sm_ppp_shell" "sm_ppp_shell_${VERSION}_nrf54l15dk" 1

- name: Upload artifacts
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' }}
if: ${{ github.event_name == 'schedule' || inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
uses: actions/upload-artifact@v4
with:
path: |
serial_modem/artifacts/*

- name: Upload artifact extras
if: ${{ inputs.trigger_source == 'release-workflow' }}
if: ${{ inputs.trigger_source == 'release-workflow' || github.event_name == 'workflow_dispatch' }}
uses: actions/upload-artifact@v4
with:
name: artifact_extras
Expand Down
Loading