Skip to content

Commit

Permalink
ci: rename steps
Browse files Browse the repository at this point in the history
... since they do not build
  • Loading branch information
coderbyheart committed Apr 2, 2024
1 parent ebf250b commit 76bad19
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,20 @@ jobs:
west config manifest.group-filter +bsec
west update -o=--depth=1 -n
- name: Build for Thingy:91
if: contains(matrix.configuration, 'thingy91') && !contains(matrix.configuration, 'thingy91x')
- name: Configure for Thingy:91
if:
contains(matrix.configuration, 'thingy91') &&
!contains(matrix.configuration, 'thingy91x')
run: echo 'board=thingy91_nrf9160_ns' >> $GITHUB_ENV

- name: Build for Thingy:91 X
- name: Configure for Thingy:91 X
working-directory: firmware
if: contains(matrix.configuration, 'thingy91x')
run: |
echo 'board=thingy91x_nrf9151_ns' >> $GITHUB_ENV
echo "CONFIG_MQTT_HELPER_SEC_TAG=43" >> firmware.conf
- name: Build for 9160DK
- name: Configure for 9160DK
if: contains(matrix.configuration, 'nrf9160dk')
run: echo 'board=nrf9160dk_nrf9160_ns@0.7.0' >> $GITHUB_ENV

Expand Down Expand Up @@ -144,7 +146,7 @@ jobs:
echo "CONFIG_MEMFAULT_NCS_IMPLEMENT_METRICS_COLLECTION=n" >> firmware.conf
echo MEMFAULT_OVERLAY=overlay-memfault.conf >> $GITHUB_ENV
- name: Build for NB-IoT only
- name: Configure for NB-IoT only
working-directory: firmware
if: contains(matrix.configuration, 'nbiot')
run: echo "CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=y" >> firmware.conf
Expand All @@ -154,7 +156,7 @@ jobs:
if: contains(matrix.configuration, 'legacy_pco')
run: echo "CONFIG_PDN_LEGACY_PCO=y" >> firmware.conf

- name: Build for LTE-m and NB-IoT
- name: Configure for LTE-m and NB-IoT
working-directory: firmware
if: ${{ !contains(matrix.configuration, 'nbiot') }}
run: echo "CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS=y" >> firmware.conf
Expand All @@ -176,7 +178,9 @@ jobs:
echo EXTRA_ARGS="-DDTC_OVERLAY_FILE=\"boards/${{ env.board }}.overlay;solar_shield.overlay\"" >> $GITHUB_ENV
- name: enable WiFi shield support
if: contains(matrix.configuration, 'wifi') && !contains(matrix.configuration, 'thingy91x')
if:
contains(matrix.configuration, 'wifi') &&
!contains(matrix.configuration, 'thingy91x')
run: |
echo EXTRA_ARGS="-DSHIELD=nrf7002ek -DEXTRA_CONF_FILE=overlay-nrf7002ek-wifi-scan-only.conf" >> $GITHUB_ENV
Expand All @@ -186,7 +190,9 @@ jobs:
run: echo PGPS_OVERLAY=overlay-pgps.conf >> $GITHUB_ENV

- name: enable BSEC library to support Bosch BME680 Environmental sensor
if: contains(matrix.configuration, 'thingy91') || contains(matrix.configuration, 'thingy91x')
if:
contains(matrix.configuration, 'thingy91') ||
contains(matrix.configuration, 'thingy91x')
working-directory: firmware
run: |
echo BSEC_OVERLAY=overlay-bsec.conf >> $GITHUB_ENV
Expand Down

0 comments on commit 76bad19

Please sign in to comment.