From c3c1a4c5422ba4fb2f280a2f2c5af9924405b53a Mon Sep 17 00:00:00 2001 From: Brent Rubell Date: Fri, 17 Sep 2021 12:22:02 -0400 Subject: [PATCH 1/2] Update release.yml run on PR too --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 72ff90da7..7011b284c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ name: WipperSnapper Release CI on: + pull_request: release: types: [published] From 5cebda726dd552c4b6d3a087395c1048a209c9af Mon Sep 17 00:00:00 2001 From: Brent Rubell Date: Fri, 17 Sep 2021 12:22:22 -0400 Subject: [PATCH 2/2] Delete githubci.yml replaced with release.yml --- .github/workflows/githubci.yml | 69 ---------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 .github/workflows/githubci.yml diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml deleted file mode 100644 index 2e346ce83..000000000 --- a/.github/workflows/githubci.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: WipperSnapper Pull Request CI - -on: pull_request - -jobs: - build-project: - name: Build WipperSnapper - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - arduino-platform: ["esp8266", "esp32", "funhouse", - "pyportal_tinyusb", "metro_m4_airliftlite_tinyusb"] - steps: - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - uses: actions/checkout@v2 - - uses: actions/checkout@v2 - with: - repository: brentru/ci-arduino - path: ci - - name: Install CI-Arduino - run: bash ci/actions_install.sh - # manually install Adafruit WiFiNINA library fork - - name: Install extra Arduino libraries - run: | - git clone --quiet https://github.com/adafruit/WiFiNINA.git /home/runner/Arduino/libraries/WiFiNINA - - name: build platforms - run: python3 ci/build_platform.py ${{ matrix.arduino-platform }} - - name: Export run variables - id: vars - shell: bash - run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - - name: upload build artifacts - uses: actions/upload-artifact@v2 - with: - name: ${{ github.event.repository.name }}.${{ matrix.arduino-platform }}.${{ steps.vars.outputs.sha_short }} - path: | - examples/*/build/*/*.hex - examples/*/build/*/*.uf2 - - - clang_and_doxy: - runs-on: ubuntu-latest - needs: build-project - steps: - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - uses: actions/checkout@v2 - - - uses: actions/checkout@v2 - with: - repository: adafruit/ci-arduino - path: ci - - - name: pre-install - run: bash ci/actions_install.sh - - - name: clang - run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -e "./src/wippersnapper/*" -e "./src/nanopb/*" -e "./src/pb.h" -e "./src/provisioning/tinyusb/*" -r . - - # - name: doxygen - # env: - # GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }} - # PRETTYNAME : "Adafruit Wippersnapper Arduino Library" - # run: bash ci/doxy_gen_and_deploy.sh -