Skip to content

Commit 859e059

Browse files
Update Scala Native version to 0.4.15 (#30)
* Update Scala Native version to 0.4.15 * setup windows env * fix failure on ubuntu
1 parent 9d541e5 commit 859e059

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ jobs:
1717
export LLVM_BIN=$(dirname $(readlink -f /usr/bin/clang))
1818
echo "LLVM_BIN=${LLVM_BIN}" >> $GITHUB_ENV
1919
20+
- name: Set env Windows
21+
if: ${{ startsWith(matrix.OS, 'windows') }}
22+
shell: pwsh
23+
run: |
24+
Choco-Install -PackageName llvm -ArgumentList "--version=16.0.6", "--allow-downgrade", "--force"
25+
echo "${env:ProgramFiles}\LLVM\bin" | Out-File -FilePath ${env:GITHUB_PATH} -Encoding utf8 -Append
26+
echo "LLVM_BIN=${env:ProgramFiles}\LLVM\bin" >> ${env:GITHUB_OUTPUT}
27+
2028
- name: Test
2129
run: >
2230
sbt 'set cli/scalaVersion := "${{matrix.scala}}"'

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ val cliAssemblyJarName = settingKey[String]("Name of created assembly jar")
5555
inThisBuild(
5656
Def.settings(
5757
organization := "org.scala-native",
58-
scalaNativeVersion := "0.4.14",
58+
scalaNativeVersion := "0.4.15",
5959
version := scalaNativeVersion.value,
6060
scalaVersion := crossScalaVersions212.last,
6161
crossScalaVersions := publishScalaVersions,

0 commit comments

Comments
 (0)