-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (29 loc) · 1.02 KB
/
maven.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
name: Java Build
on: [ push ]
jobs:
build:
name: Maven Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
cache: maven
- uses: carlosperate/arm-none-eabi-gcc-action@v1
- run: arm-none-eabi-gcc --version
- run: sudo apt-get update
- run: sudo apt-get install gcc-multilib g++-multilib
- run: gcc --version
- name: Build with Maven
run: mvn -B install --file pom.xml -Pbuild-arm
- name: Upload Java code coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# file: jacoco.xml #optional
# name: codecov-umbrella #optional
# yml: ./codecov.yml #optional
# fail_ci_if_error: true #optional (default = false)