-
Notifications
You must be signed in to change notification settings - Fork 30
49 lines (42 loc) · 1.27 KB
/
aunit_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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-20.04
steps:
- uses: actions/checkout@v2
- 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