Skip to content

simplify

simplify #4

Workflow file for this run

name: Test on FreeBSD
on: [push, pull_request]
jobs:
test-freebsd:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Test with FreeBSD Linux compatibility
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y curl
run: |
# Enable Linux compatibility layer
sysrc linux_enable="YES"
service linux start
kldload linux64 || true
pkg install -y linux-c7 linux-c7-devtools
# Download static Linux binary
curl -sLO https://github.com/babashka/babashka/releases/download/v1.3.186/babashka-1.3.186-linux-amd64-static.tar.gz
tar -xzf babashka-1.3.186-linux-amd64-static.tar.gz
chmod +x bb
./bb --version
./bb -e "(println \"Hello from FreeBSD!\")"