Skip to content

fix: Synchronize with scala-native main #73

fix: Synchronize with scala-native main

fix: Synchronize with scala-native main #73

Workflow file for this run

name: Test All
on: [pull_request]
jobs:
test-all:
runs-on: ${{matrix.OS}}
strategy:
fail-fast: false
matrix:
OS: [ubuntu-22.04, windows-2022]
scala: [2.12.18, 2.13.12, 3.3.1]
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: adopt:8
- name: Set env Linux
if: ${{ startsWith(matrix.OS, 'ubuntu') }}
run: |
export LLVM_BIN=$(dirname $(readlink -f /usr/bin/clang))
echo "LLVM_BIN=${LLVM_BIN}" >> $GITHUB_ENV
- name: Set env Windows
if: ${{ startsWith(matrix.OS, 'windows') }}
shell: pwsh
run: |
Choco-Install -PackageName llvm -ArgumentList "--version=16.0.6", "--allow-downgrade", "--force"
echo "${env:ProgramFiles}\LLVM\bin" | Out-File -FilePath ${env:GITHUB_PATH} -Encoding utf8 -Append
echo "LLVM_BIN=${env:ProgramFiles}\LLVM\bin" >> ${env:GITHUB_OUTPUT}
- name: Test
run: >
sbt 'set cli/scalaVersion := "${{matrix.scala}}"'
+cli/test
+cliScriptedTests/scripted
shell: bash