EpoxyDuino.mk: support v1.0 libraries which places files under the ./… #215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AUnit Tests | |
# Trigger on 'push' on all branches. | |
# | |
# Some may find adding 'pull_request' to be useful (see | |
# https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#pull_request). | |
# But this may cause duplicate workflow iterations. Then consider restricting | |
# the 'push' event to just the master branch, like this: | |
# | |
# on: | |
# push: | |
# branches: | |
# -master | |
# pull_request: | |
# | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
run: | | |
cd .. | |
git clone https://github.com/bxparks/AUnit | |
git clone https://github.com/bxparks/AceCommon | |
git clone https://github.com/bxparks/AceCRC | |
git clone https://github.com/bxparks/AceUtils | |
git clone https://github.com/bxparks/AceRoutine | |
- name: Verify examples | |
run: | | |
make -C examples | |
make -C libraries | |
- name: Verify tests | |
run: | | |
# tests/IPAddressTest requires EPOXY_CORE_ESP8266, which requires clean | |
make -C tests clean | |
make -C tests tests | |
make -C tests runtests | |
# clean after tests/IPAddressTest to revert to EPOXY_CORE_AVR | |
make -C libraries clean | |
make -C libraries tests | |
make -C libraries runtests |