Skip to content

Commit

Permalink
CI: use Java 17 on macOS
Browse files Browse the repository at this point in the history
Prevent Gradle from picking up the default
Java 8 on macOS.
  • Loading branch information
pjonsson committed Oct 16, 2023
1 parent 8258221 commit 0272226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
if: matrix.os == 'macos-latest'
run: |
brew install make clang-format
# Prevent Gradle from picking up Java 8 on Github CI runner.
echo "org.gradle.java.home=$JAVA_HOME_17_X64" > contiki-ng/tools/cooja/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.
Expand Down

0 comments on commit 0272226

Please sign in to comment.