@@ -96,10 +96,10 @@ jobs:
9696 sudo apt-get update -y && sudo apt-get upgrade -y
9797 sudo apt-get install gcc-avr avr-libc
9898 avr-gcc --version
99- - run : avr-gcc libcanard/*.c -isystem lib -c -std=c99 -mmcu=${{ env.mcu }} ${{ env.flags }}
100- - run : avr-gcc libcanard/*.c -isystem lib -c -std=c11 -mmcu=${{ env.mcu }} ${{ env.flags }}
101- - run : avr-gcc libcanard/*.c -isystem lib -c -std=gnu99 -mmcu=${{ env.mcu }} ${{ env.flags }}
102- - run : avr-gcc libcanard/*.c -isystem lib -c -std=gnu11 -mmcu=${{ env.mcu }} ${{ env.flags }}
99+ - run : avr-gcc libcanard/*.c -isystem lib/cavl2 -c -std=c99 -mmcu=${{ env.mcu }} ${{ env.flags }}
100+ - run : avr-gcc libcanard/*.c -isystem lib/cavl2 -c -std=c11 -mmcu=${{ env.mcu }} ${{ env.flags }}
101+ - run : avr-gcc libcanard/*.c -isystem lib/cavl2 -c -std=gnu99 -mmcu=${{ env.mcu }} ${{ env.flags }}
102+ - run : avr-gcc libcanard/*.c -isystem lib/cavl2 -c -std=gnu11 -mmcu=${{ env.mcu }} ${{ env.flags }}
103103
104104 arm :
105105 if : github.event_name == 'push'
@@ -111,8 +111,8 @@ jobs:
111111 - run : |
112112 sudo apt-get update -y && sudo apt-get upgrade -y
113113 sudo apt-get install -y gcc-arm-none-eabi
114- - run : arm-none-eabi-gcc libcanard/*.c -isystem lib -c -std=c99 ${{ env.flags }}
115- - run : arm-none-eabi-gcc libcanard/*.c -isystem lib -c -std=c11 ${{ env.flags }}
114+ - run : arm-none-eabi-gcc libcanard/*.c -isystem lib/cavl2 -c -std=c99 ${{ env.flags }}
115+ - run : arm-none-eabi-gcc libcanard/*.c -isystem lib/cavl2 -c -std=c11 ${{ env.flags }}
116116
117117 style_check :
118118 if : github.event_name == 'push'
@@ -195,7 +195,6 @@ jobs:
195195 --define sonar.projectName=libcanard
196196 --define sonar.projectKey=libcanard
197197 --define sonar.sources=libcanard
198- --define sonar.exclusions=lib/cavl2/cavl2.h
199198 --define sonar.cfamily.gcov.reportsPath=.
200199 --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"
201200 --define sonar.host.url="${{ env.SONAR_SERVER_URL }}"
0 commit comments