Skip to content

Commit

Permalink
update deprecated macos-12 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
rolang committed Dec 8, 2024
1 parent eea14db commit fc6831a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest, macos-12, macos-14]
os: [ubuntu-latest, macos-13, macos-14]
scala: [3, 2.13]
java: [temurin@21, temurin@17]
project: [rootJVM, rootNative]
Expand All @@ -36,7 +36,7 @@ jobs:
java: temurin@17
- project: rootNative
java: temurin@17
- os: macos-12
- os: macos-13
project: rootJVM
- os: macos-14
project: rootJVM
Expand Down Expand Up @@ -87,8 +87,8 @@ jobs:
/home/linuxbrew/.linuxbrew/bin/brew install llvm@17 s2n utf8proc
echo "LLVM_BIN=/home/linuxbrew/.linuxbrew/opt/llvm@17/bin" >> $GITHUB_ENV
- name: Install native dependencies (macos-12)
if: (matrix.project == 'rootNative') && matrix.os == 'macos-12'
- name: Install native dependencies (macos-13)
if: (matrix.project == 'rootNative') && matrix.os == 'macos-13'
run: |
brew install llvm@17 s2n utf8proc
echo "LLVM_BIN=/usr/local/opt/llvm@17/bin" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ThisBuild / semanticdbVersion := scalafixSemanticdb.revision // use Scalafix com

// githubWorkflow
lazy val macOsArm = "macos-14"
lazy val macOsIntel = "macos-12"
lazy val macOsIntel = "macos-13"
lazy val macOses = Seq(macOsIntel, macOsArm)
ThisBuild / githubWorkflowOSes ++= Seq(macOsIntel, macOsArm)
ThisBuild / githubWorkflowBuildMatrixExclusions ++= macOses.map(os =>
Expand Down

0 comments on commit fc6831a

Please sign in to comment.