Skip to content

Commit

Permalink
Change to github actions
Browse files Browse the repository at this point in the history
Migrate from internal gitlab CI to github actions
  • Loading branch information
psachs committed Apr 19, 2024
1 parent d57ca29 commit 8d028c1
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 92 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/arduino_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Arduino Checks

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
Arduino-Checks:
uses: sensirion/.github/.github/workflows/upt.arduino.check.yml@main
with:
expect-arduino-examples: false
lint-lib-manager-check: update
Compile-Test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arduino-boards-fqbn:
- arduino:avr:uno
- arduino:avr:nano
- arduino:avr:mega
- arduino:samd:mkrzero
- esp8266:esp8266:generic
- esp32:esp32:esp32
include:
- arduino-boards-fqbn: esp8266:esp8266:generic
platform-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
- arduino-boards-fqbn: esp32:esp32:esp32
platform-url: https://dl.espressif.com/dl/package_esp32_index.json
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compile all examples
uses: ArminJo/arduino-test-compile@v3
with:
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
platform-url: ${{ matrix.platform-url }}
39 changes: 0 additions & 39 deletions .gitlab-ci.yml

This file was deleted.

45 changes: 0 additions & 45 deletions tests/compile_test.py

This file was deleted.

3 changes: 0 additions & 3 deletions tests/run_cppcheck.sh

This file was deleted.

5 changes: 0 additions & 5 deletions tests/syntax_check.sh

This file was deleted.

0 comments on commit 8d028c1

Please sign in to comment.