From b37baee7e5ede451add0eb0c6689e740653eadbd Mon Sep 17 00:00:00 2001 From: JoshP Date: Mon, 26 Jun 2023 19:51:52 +0100 Subject: [PATCH] Update CI to use github actions --- .circleci/config.yml | 13 ------------- .github/workflows/compile.yml | 13 +++++++++++++ .gitmodules | 0 libraries/.dummy | 1 - 4 files changed, 13 insertions(+), 14 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/compile.yml delete mode 100644 .gitmodules delete mode 100644 libraries/.dummy diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 2b2f700..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,13 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: slocomptech/docker-arduino - steps: - - checkout - - run: - name: Checkout submodules - command: git submodule sync && git submodule update --init - - run: - name: Build Sketch - command: arduino-builder -hardware ${ARDUINO_HARDWARE} -tools ${ARDUINO_TOOLS}/avr -tools ${ARDUINO_TOOLS_BUILDER} -libraries ${ARDUINO_LIBS} -libraries libraries/ -fqbn arduino:avr:uno src/firmware.cpp diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml new file mode 100644 index 0000000..c98be4a --- /dev/null +++ b/.github/workflows/compile.yml @@ -0,0 +1,13 @@ +on: + - push + - pull_request +jobs: + compile-sketch: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: arduino/compile-sketches@v1 + with: + fqbn: "arduino:avr:uno" + sketch-paths: | + - src diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29..0000000 diff --git a/libraries/.dummy b/libraries/.dummy deleted file mode 100644 index 8b13789..0000000 --- a/libraries/.dummy +++ /dev/null @@ -1 +0,0 @@ -