Skip to content

Build(deps): bump com.formdev:flatlaf from 3.5.1 to 3.5.2 #1808

Build(deps): bump com.formdev:flatlaf from 3.5.1 to 3.5.2

Build(deps): bump com.formdev:flatlaf from 3.5.1 to 3.5.2 #1808

Workflow file for this run

on:
pull_request:
branches: [ master ]
# When a PR is updated, cancel the jobs from the previous version. Merges
# do not define head_ref, so use run_id to never cancel those jobs.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_ANALYTICS: 1
jobs:
build:
strategy:
# Do not cancel other jobs on first failure.
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-13, macos-14 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Contiki-NG repo
uses: actions/checkout@v4
with:
repository: contiki-ng/contiki-ng
path: contiki-ng
- uses: actions/checkout@v4
with:
repository: contiki-ng/cooja
path: contiki-ng/tools/cooja
- name: Setup Java 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'zulu'
- name: Verify gradle-wrapper checksum
uses: gradle/actions/wrapper-validation@v4
- name: configure macOS/Intel Gradle
if: matrix.os == 'macos-13'
run: |
# Prevent Gradle from picking up Java 8 on Github CI runner.
mkdir -p $HOME/.gradle
echo "org.gradle.java.home=$JAVA_HOME_21_X64" > $HOME/.gradle/gradle.properties
# Homebrew prefix is different for x86-64 and aarch64.
export HOMEBREW_PREFIX=/usr/local
# 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
- name: configure macOS/arm64 Gradle
if: matrix.os == 'macos-14'
run: |
# Prevent Gradle from picking up Java 8 on Github CI runner.
mkdir -p $HOME/.gradle
echo "org.gradle.java.home=$JAVA_HOME_21_arm64" > $HOME/.gradle/gradle.properties
# Homebrew prefix is different for x86-64 and aarch64.
export HOMEBREW_PREFIX=/opt/homebrew
# 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
- name: install macOS software
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
run: |
brew install make clang-format
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: false
# The build step includes :spotlessJavaBuild.
- name: Build and test
working-directory: contiki-ng/tools/cooja
run: ./gradlew build jar -Perrorprone
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.14
with:
key: compilation-${{ runner.os }}
max-size: 160M
- name: Run Contiki-NG simulation tests
run: |
[ "$(uname)" = "Linux" ] || source ~/.bashrc
export COOJA_CI=true
cd contiki-ng/tests/07-simulation-base
# Skip MSP430 tests, no compiler installed.
rm ??-*sky*.csc ??-*z1*.csc
# Skip test that fails intermittently.
rm 21-cooja-rpl*.csc
source ../../tools/docker/files/bash_aliases
cimake