Skip to content

Commit

Permalink
Use macOS-14 for Github Actions
Browse files Browse the repository at this point in the history
- which is the latest stable version. They only support the last two stable versions, so we should be good for a while
- add step to install sbt since later version of the runner image don't include it

DAFFODIL-2952
  • Loading branch information
olabusayoT committed Nov 2, 2024
1 parent 357f224 commit 46844d6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
java_distribution: [ temurin ]
java_version: [ 8, 11, 17, 21 ]
scala_version: [ 2.12.20 ]
os: [ ubuntu-22.04, windows-2022, macos-12 ]
os: [ ubuntu-22.04, windows-2022, macos-14-large ]
exclude:
# only run macos on java 17
- os: macos-12
- os: macos-14-large
java_version: 8
- os: macos-12
- os: macos-14-large
java_version: 11
- os: macos-12
- os: macos-14-large
java_version: 21
include:
# configure shell/cc/ar for all OSes
Expand All @@ -60,7 +60,7 @@ jobs:
shell: msys2 {0}
env_cc: clang
env_ar: llvm-ar
- os: macos-12
- os: macos-14-large
shell: bash
env_cc: cc
env_ar: ar
Expand Down Expand Up @@ -108,6 +108,7 @@ jobs:
brew tap-new local/libmxml
brew extract --version 3.3.1 libmxml local/libmxml
brew install [email protected]
brew install sbt
- name: Install Dependencies (Linux)
if: runner.os == 'Linux'
Expand Down

0 comments on commit 46844d6

Please sign in to comment.