Skip to content

Commit

Permalink
Use Temurin JDK to build ChoreoLib
Browse files Browse the repository at this point in the history
This matches the development build of WPILib.
  • Loading branch information
calcmogul committed May 12, 2024
1 parent f8ecb49 commit 2590381
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/choreolib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,19 @@ jobs:
include:
- os: windows-2022
artifact-name: Windows-x86_64
architecture: x64
build-options:

# FIXME: Link failure on commands library
# - os: windows-2022
# artifact-name: Windows-aarch64
# architecture: x64
# build-options: -Pbuildwinarm64 -Ponlywindowsarm64

- os: macOS-13
artifact-name: macOS-x86_64
architecture: x64
build-options:

- os: macOS-14
artifact-name: macOS-arm64
architecture: x64
build-options:

name: "${{ matrix.artifact-name }}"
Expand All @@ -99,9 +95,8 @@ jobs:

- uses: actions/setup-java@v4
with:
distribution: "zulu"
distribution: "temurin"
java-version: 17
architecture: ${{ matrix.architecture }}

- name: Set version (Windows release)
if: startsWith(matrix.os, 'windows') && startsWith(github.ref, 'refs/tags/v')
Expand Down Expand Up @@ -148,7 +143,7 @@ jobs:

- uses: actions/setup-java@v4
with:
distribution: "zulu"
distribution: "temurin"
java-version: 17

- name: Combine
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
working-directory: "choreolib"
doxyfile-path: "docs/Doxyfile"

- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 17

- name: Run JavaDoc
run: |
cd choreolib
Expand Down

0 comments on commit 2590381

Please sign in to comment.