Skip to content

[kyo-system] extract Path, System, Process, and Command from kyo-core #6457

[kyo-system] extract Path, System, Process, and Command from kyo-core

[kyo-system] extract Path, System, Process, and Command from kyo-core #6457

Workflow file for this run

name: readme
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
readme:
runs-on: ubuntu-latest
env:
# -Xmx14G (up from 12G): `sbt doctest` compiles every module's test sources in one driver session
# and OOM'd at 12G. Dropped the -Xms8G floor and pinned G1 so the heap grows on demand and is
# released between phases, leaving the box room (ubuntu-latest is 16G).
JAVA_OPTS: -Xmx14G -Xss10M -XX:+UseG1GC -XX:+UseCompactObjectHeaders -XX:MaxMetaspaceSize=2G -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xmx14G -Xss10M -XX:+UseG1GC -XX:+UseCompactObjectHeaders -XX:MaxMetaspaceSize=2G -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- uses: actions/checkout@v7.0.1
with:
fetch-depth: 0
- uses: coursier/cache-action@v8.1.1
- uses: coursier/setup-action@v3.0.0
with:
jvm: corretto:25
apps: sbt
# liburing (build-time only): `sbt doctest` compiles kyo-net's io_uring FFI shim (kyo_uring.c), which
# statically links -luring. This workflow does not use .github/actions/setup, so install it here too.
- name: Install liburing (Linux)
run: bash scripts/apt-install.sh liburing-dev
# libaeron (build-time only): `sbt doctest` compiles kyo-aeron's C shim (kyo_aeron.c), which
# statically links -laeron_driver_static from the gitignored staged tree. Same reason as liburing
# above: this workflow does not use .github/actions/setup, so the staging step is repeated here.
# The runner is pinned to ubuntu-latest, so the os-arch is always linux-x86_64.
- name: Prepare libaeron
shell: bash
run: |
command -v cmake >/dev/null 2>&1 || bash scripts/apt-install.sh cmake
# The Aeron driver links -luuid on Linux, and the package providing the libuuid.so link
# target is not preinstalled.
dpkg -s uuid-dev >/dev/null 2>&1 || bash scripts/apt-install.sh uuid-dev
bash kyo-aeron/scripts/build-aeron.sh linux-x86_64
- run: sbt doctest