-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (49 loc) · 2.16 KB
/
macos.yaml
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
50
51
52
53
name: macos
on: [pull_request, workflow_dispatch]
#on: [push, pull_request, workflow_dispatch]
jobs:
runTest:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- run: |
bundle install
bundle exec arduino_ci.rb
env:
# Not all libraries are in the root directory of a repository.
# Specifying the path of the library here (relative to the root
# of the repository) will adjust that.
#
# The default is the current directory
#
USE_SUBDIR: .
# Not all libraries include examples or unit tests. The default
# behavior of arduino_ci is to assume that "if the files don't
# exist, then they were not MEANT to exist". In other words,
# if you were to accidentally delete all your tests or example
# sketches, then the CI runner would by default assume that was
# intended and return a passing result.
#
# If you'd rather have the test runner fail the test in the
# absence of either tests or examples, uncommenting either of
# the following variables to 'true' (as appropriate) will
# enforce that.
#
EXPECT_EXAMPLES: true
#EXPECT_UNITTESTS: true
# Although dependencies will be installed automatically via the
# library manager, your library under test may require an
# unofficial version of a dependency. In those cases, the custom
# libraries must be insalled prior to the test execution; those
# installation commands should be placed in a shell script (that
# will be executed by /bin/sh) stored in your library.
#
# Then, set this variable to the path to that file (relative to
# the root of your repository). The script will be run from
# within the Arduino libraries directory; you should NOT attempt
# to find that directory nor change to it from within the script.
#
CUSTOM_INIT_SCRIPT: scripts/Arduino-CI--init.sh