Skip to content

Commit 5e7497d

Browse files
committed
fix windows CI
1 parent 754e6d1 commit 5e7497d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
shell: bash
6969
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck
7070

71+
- if: runner.os == 'Windows'
72+
uses: egor-tensin/setup-clang@v1
73+
with:
74+
version: 20.1.7
75+
platform: x64
76+
7177
- name: Header check
7278
if: ${{ matrix.java=='temurin@8' && matrix.scala=='2.12.20' && matrix.os=='ubuntu-latest' }}
7379
shell: bash

build.sbt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ lazy val publishingSettings = Seq(
104104
publishTo := sonatypePublishToBundle.value,
105105
publishConfiguration := publishConfiguration.value.withOverwrite(true),
106106
publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true),
107-
developers := List(
107+
developers := List(
108108
Developer("sirthias", "Mathias Doenitz", "[email protected]", url("https://github.com/sirthias")),
109109
Developer("alexander-myltsev", "Alexander Myltsev", "", url("http://www.linkedin.com/in/alexandermyltsev"))
110110
)
@@ -266,6 +266,14 @@ ThisBuild / githubWorkflowWindowsPagefileFix := Some(
266266
)
267267

268268
ThisBuild / githubWorkflowBuild := Seq(
269+
WorkflowStep.Use(
270+
ref = UseRef.Public("egor-tensin", "setup-clang", "v1"),
271+
cond = Some("runner.os == 'Windows'"),
272+
params = Map(
273+
"version" -> "20.1.7",
274+
"platform" -> "x64"
275+
)
276+
),
269277
WorkflowStep.Sbt(
270278
List("headerCheckAll", "scalaParser/headerCheckAll"),
271279
name = Some("Header check"),

0 commit comments

Comments
 (0)