Skip to content

Commit

Permalink
Separated job for external interrupts
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
  • Loading branch information
SRGDamia1 committed Aug 8, 2024
1 parent b8812be commit 1089063
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
interval: 'weekly'
labels:
- 'CI/CD'
commit-message:
Expand Down
22 changes: 20 additions & 2 deletions .github/workflows/build_examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,28 @@ concurrency:

jobs:
build_examples:
name: Build all examples with PlatformIO and the Arduino CLI
name: Build standard examples with PlatformIO and the Arduino CLI
if: ${{ ! contains(github.event.head_commit.message, 'ci skip') }}
uses: EnviroDIY/workflows/.github/workflows/build_examples.yaml@main
with:
boards_to_build: 'mayfly,uno,megaatmega2560,leonardo,zeroUSB,arduino_nano_esp32,feather328p,feather32u4,adafruit_feather_m0,adafruit_feather_m4,adafruit_grandcentral_m4,huzzah,featheresp32,nodemcu,nodemcuv2,esp32dev,esp32-c3-devkitm-1,esp32-s3-devkitm-1'
examples_to_build: 'examples/a_wild_card,examples/b_address_change,examples/c_check_all_addresses,examples/d_simple_logger,examples/e_continuous_measurement,examples/f_basic_data_request,examples/g_terminal_window,examples/h_SDI-12_slave_implementation,examples/i_SDI-12_interface,examples/j_external_pcint_library,examples/k_concurrent_logger,examples/l_verify_crc'
examples_to_build: 'examples/a_wild_card,examples/b_address_change,examples/c_check_all_addresses,examples/d_simple_logger,examples/e_continuous_measurement,examples/f_basic_data_request,examples/g_terminal_window,examples/h_SDI-12_slave_implementation,examples/i_SDI-12_interface,examples/k_concurrent_logger,examples/l_verify_crc'
secrets: inherit
build_ext_ints:
name: Build the External Interrupt Example
runs-on: ubuntu-latest
if: ${{ ! contains(github.event.head_commit.message, 'ci skip') }}
env:
PLATFORMIO_BUILD_CACHE_DIR: ~/.platformio/caches

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PlatformIO
uses: EnviroDIY/setup-platformio-action@v1.0.2

- name: Build PlatformIO examples
env:
PLATFORMIO_BUILD_FLAGS: -D SDI12_EXTERNAL_PCINT
run: pio ci --board=mayfly --board=uno --board=megaatmega2560 --board=leonardo --board=zeroUSB --board=arduino_nano_esp32 --board=feather328p --board=feather32u4 --board=adafruit_feather_m0 --board=adafruit_feather_m4 --board=adafruit_grandcentral_m4 --board=huzzah --board=featheresp32 --board=nodemcu --board=nodemcuv2 --board=esp32dev --board=esp32-c3-devkitm-1 --board=esp32-s3-devkitm-1 --project-option="lib_deps=greygnome/EnableInterrupt@^1.1.0"

0 comments on commit 1089063

Please sign in to comment.