Skip to content

Enable Scala Native compilation (tests are still off) #110

Enable Scala Native compilation (tests are still off)

Enable Scala Native compilation (tests are still off) #110

Workflow file for this run

name: build-pr
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: build
timeout-minutes: 30
env:
JAVA_OPTS: -Xms15G -Xmx15G -Xss10M -XX:MaxMetaspaceSize=2G -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xms15G -Xmx15G -Xss10M -XX:MaxMetaspaceSize=2G -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- uses: actions/[email protected]
- uses: coursier/cache-action@v6
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-openssl-dev libidn2-0-dev
- uses: olafurpg/setup-scala@v13
with:
java-version: [email protected]=tgz+https://download.java.net/java/GA/jdk21.0.2/f2283984656d49d69e91c558476027ac/13/GPL/openjdk-21.0.2_linux-x64_bin.tar.gz
- name: Build JVM
run: sbt '+kyoJVM/testQuick'
- name: Build JS
run: sbt '+kyoJS/testQuick'
- name: Build Native
run: sbt '+kyoNative/Test/compile' # testQuick