Skip to content

Commit

Permalink
Readd 2.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hamnis committed Aug 19, 2024
1 parent e34c5ba commit 746c662
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
38 changes: 35 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13, 3]
scala: [2.13, 2.12, 3]
java: [temurin@8, temurin@17]
project: [rootJS, rootJVM, rootNative]
exclude:
- scala: 2.12
java: temurin@17
- scala: 3
java: temurin@17
- project: rootJS
Expand Down Expand Up @@ -196,6 +198,36 @@ jobs:
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.12, rootJS)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJS

- name: Inflate target directories (2.12, rootJS)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.12, rootJVM)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJVM

- name: Inflate target directories (2.12, rootJVM)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.12, rootNative)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootNative

- name: Inflate target directories (2.12, rootNative)
run: |
tar xf targets.tar
rm targets.tar
- name: Download target directories (3, rootJS)
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -297,15 +329,15 @@ jobs:
- name: Submit Dependencies
uses: scalacenter/sbt-dependency-submission@v2
with:
modules-ignore: rootjs_2.13 rootjs_3 rootjvm_2.13 rootjvm_3 rootnative_2.13 rootnative_3
modules-ignore: rootjs_2.13 rootjs_2.12 rootjs_3 rootjvm_2.13 rootjvm_2.12 rootjvm_3 rootnative_2.13 rootnative_2.12 rootnative_3
configs-ignore: test scala-tool scala-doc-tool test-internal

coverage:
name: Generate coverage report
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13, 3]
scala: [2.13, 2.12, 3]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import sbtcrossproject.{ CrossType, crossProject }

val Scala213V = "2.13.14"
val Scala3V = "3.3.3"
val Scala212V = "2.12.19"

val circeVersion = "0.14.9"

Expand All @@ -14,7 +15,7 @@ ThisBuild / tlBaseVersion := "0.15"
ThisBuild / tlCiReleaseTags := true

ThisBuild / organization := "io.circe"
ThisBuild / crossScalaVersions := List(Scala213V, Scala3V)
ThisBuild / crossScalaVersions := List(Scala213V, Scala212V, Scala3V)
ThisBuild / scalaVersion := Scala213V

ThisBuild / githubWorkflowJavaVersions := Seq("8", "17").map(JavaSpec.temurin)
Expand Down

0 comments on commit 746c662

Please sign in to comment.