diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0f88bec..7318fd3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ updates: - package-ecosystem: 'github-actions' directory: '/' schedule: - interval: 'daily' + interval: 'weekly' labels: - 'CI/CD' commit-message: diff --git a/.github/workflows/build_examples.yaml b/.github/workflows/build_examples.yaml index 702e188..ca754e3 100644 --- a/.github/workflows/build_examples.yaml +++ b/.github/workflows/build_examples.yaml @@ -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"