-
Notifications
You must be signed in to change notification settings - Fork 49
38 lines (35 loc) · 1 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: build
timeout-minutes: 20
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/checkout@v3.0.2
with:
fetch-depth: 0
- 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: openjdk@21.0.2=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/test'
- name: Build JS
run: |
sbt '+kyoJS/test'
- name: Build Native
run: |
sbt '+kyoNative/test'