Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: run spotless as part of build #1369

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,21 @@ jobs:
# Put Homebrew installed make first in PATH so "make" is version 4.x.
echo "export PATH=$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH" >> ~/.profile
echo "export PATH=$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH" >> ~/.bashrc
# The build step includes :spotlessJavaBuild.
- name: Build Cooja and Documentation
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.4
cache-read-only: false
arguments: jar -Perrorprone
arguments: build -Perrorprone
build-root-directory: contiki-ng/tools/cooja
# The Jar is important for MSPSim in Contiki-NG.
- name: Build Jar
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.4
cache-read-only: false
arguments: jar
build-root-directory: contiki-ng/tools/cooja
- name: Test MSPSim
uses: gradle/gradle-build-action@v2
Expand Down