@@ -10,45 +10,46 @@ jobs:
10
10
- name : Setup environment - Brew tap
11
11
run : |
12
12
brew tap modm-ext/arm
13
- # brew tap modm-ext/avr
13
+ brew tap modm-ext/avr
14
14
15
15
- name : Setup environment - Brew install
16
16
run : |
17
- brew install git doxygen boost gcc arm-gcc-bin cmake || true
18
- brew upgrade boost gcc git || true
19
- # brew install git doxygen boost gcc avr-gcc arm-gcc-bin cmake || true
20
- # brew upgrade boost gcc git || true
17
+ export HOMEBREW_NO_INSTALL_CLEANUP=1 # saves time
18
+ brew update
19
+ brew install doxygen boost gcc avr-gcc@10 arm-gcc-bin cmake || true
20
+ brew link --force avr-gcc@10
21
+ # brew upgrade boost gcc git || true
21
22
22
23
- name : Setup environment - Python pip
23
24
run : |
24
25
pip3 install --user modm scons
25
26
echo "/usr/local/bin" >> $GITHUB_PATH
26
27
echo "/Users/runner/Library/Python/3.9/bin" >> $GITHUB_PATH
27
- echo $PATH
28
28
29
29
- name : Dump environment
30
30
run : |
31
- env
32
- locale -a
33
- python --version || true
34
- python3 --version || true
35
- which scons
36
- scons --version
37
- which g++
38
- g++ --version
39
- which arm-none-eabi-g++
40
- arm-none-eabi-g++ --version
41
- which lbuild
42
- lbuild --version
43
- # which avr-g++
44
- # avr-g++ --version
31
+ echo $PATH
32
+ env
33
+ locale -a
34
+ python --version || true
35
+ python3 --version || true
36
+ which scons
37
+ scons --version
38
+ which g++
39
+ g++ --version
40
+ which arm-none-eabi-g++
41
+ arm-none-eabi-g++ --version
42
+ which lbuild
43
+ lbuild --version
44
+ which avr-g++
45
+ avr-g++ --version
45
46
46
47
- name : Check out repository
47
48
uses : actions/checkout@v2
48
49
49
50
- name : Git Submodules
50
51
run : |
51
- git submodule update --init
52
+ git submodule update --init --jobs 8
52
53
53
54
- name : Hosted Unittests
54
55
run : |
63
64
(cd examples && ../tools/scripts/examples_compile.py nucleo_f031k6 nucleo_f103rb nucleo_f303re nucleo_f411re nucleo_f746zg)
64
65
(cd examples && ../tools/scripts/examples_compile.py nucleo_g071rb nucleo_l152re nucleo_l476rg nucleo_g474re)
65
66
66
- # - name: Compile AVR Examples
67
- # run: |
68
- # (cd examples && ../tools/scripts/examples_compile.py avr)
67
+ - name : Compile AVR Examples
68
+ run : |
69
+ (cd examples && ../tools/scripts/examples_compile.py avr)
0 commit comments