From 3908fa99055d154d9c8f88b80240183fd11d3108 Mon Sep 17 00:00:00 2001 From: Mateusz Kubuszok Date: Sat, 24 Sep 2022 02:23:39 +0200 Subject: [PATCH] Disable scala native on 2.13 --- .github/workflows/ci.yml | 3 +++ build.sbt | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69eb41e..1b76211 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,9 @@ jobs: jvm: [openjdk@1.17.0] scalaVersion: ["", 3] scalaPlatform: ["", JS, Native] + exclude: + - scalaVersion: "" + scalaPlatform: Native fail-fast: false env: diff --git a/build.sbt b/build.sbt index 431b701..4d522f6 100644 --- a/build.sbt +++ b/build.sbt @@ -15,10 +15,10 @@ val testCases = projectMatrix val pipez = projectMatrix .in(file("pipez")) - .allVariations( + .someVariations( List(scala2_13version, scala3version), List(VirtualAxis.jvm, VirtualAxis.js, VirtualAxis.native) - ) + )(MatrixAction((s, a) => s.isScala2 && a.contains(VirtualAxis.native)).Skip) .enablePlugins(GitVersioning) .settings(name := "pipez") .settings(commonSettings: _*) @@ -34,10 +34,10 @@ val pipez = projectMatrix val pipezDsl = projectMatrix .in(file("pipez-dsl")) - .allVariations( + .someVariations( List(scala2_13version, scala3version), List(VirtualAxis.jvm, VirtualAxis.js, VirtualAxis.native) - ) + )(MatrixAction((s, a) => s.isScala2 && a.contains(VirtualAxis.native)).Skip) .enablePlugins(GitVersioning) .settings(name := "pipez-dsl") .settings(commonSettings: _*)