Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readd 2.12 support #2

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading