Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1e7fdf3
Add a nix flake, remove default.nix
harendra-kumar Nov 4, 2026
2251fba
Fix the example to work with the current API
harendra-kumar Nov 4, 2026
b1dc375
Add a limit-build-mem flag to cap the GHC heap
harendra-kumar Nov 4, 2026
61b4ee8
Add a test suite
harendra-kumar Nov 4, 2026
7dd30b1
Decode the JSON input and output as UTF-8 bytes
harendra-kumar Nov 4, 2026
54dd9c4
Write the server stdout as UTF-8 in any locale
harendra-kumar Nov 4, 2026
39418aa
Raise a named exception for every RPC error
harendra-kumar Nov 4, 2026
e8a452e
Decode all endpoint arguments before calling the endpoint
harendra-kumar Nov 4, 2026
98beb61
Decode the runAt result before runAt returns
harendra-kumar Nov 4, 2026
cc79ede
Quote the server command for the shell
harendra-kumar Nov 4, 2026
bd3a717
Pass the setImageFlags flags to the server executable
harendra-kumar Nov 4, 2026
7609cf6
Do not make the installOnRemote directory world-writable
harendra-kumar Nov 4, 2026
0670fc9
Add a benchmark suite
harendra-kumar Nov 4, 2026
fa970f6
Make toBinStream linear in the size of the encoding
harendra-kumar Nov 4, 2026
2f645f2
Read the server input before raising EndpointNotFound
harendra-kumar Nov 4, 2026
929e5bd
Test evaluator directly and invalid UTF-8 server output
harendra-kumar Nov 4, 2026
8565033
Correct and complete the documentation
harendra-kumar Nov 4, 2026
939a2a2
Fix the line lengths and the role annotation warnings
harendra-kumar Nov 4, 2026
088dbe2
Define the IR conversions before their use
harendra-kumar Nov 4, 2026
e4b11da
Update the changelog
harendra-kumar Nov 4, 2026
28a2ab3
Replace the fake command scripts with test executable copies
harendra-kumar Nov 4, 2026
b79106c
Add GitHub CI for Linux, macOS, Windows and FreeBSD
harendra-kumar Nov 4, 2026
c177fd2
Write \n line ends on the server stdout on all OSes
harendra-kumar Nov 4, 2026
679af08
Document the Windows limits and the external commands needed
harendra-kumar Nov 4, 2026
75ba714
Import public streamly modules instead of internal ones
harendra-kumar Nov 4, 2026
0602e96
Convert ByteString and Array with streamly-bytestring
harendra-kumar Nov 5, 2026
d3cabc0
Decode irToString with streamly-core instead of text
harendra-kumar Nov 5, 2026
0940797
Drop the bytestring dependency of the library
harendra-kumar Nov 5, 2026
8912c35
Drop the vector dependency of the library
harendra-kumar Nov 5, 2026
c02ee2e
Use Data.Map instead of HashMap for RpcMap
harendra-kumar Nov 5, 2026
53c7819
Use streamly-core Path instead of filepath in installOnRemote
harendra-kumar Nov 5, 2026
d960620
Fix the test failures on GHC 9.8, Windows and with -Werror
harendra-kumar Nov 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# FreeBSD CI
#
# FreeBSD is not a native GitHub Actions runner, so this workflow runs
# the build inside a VM via vmactions/freebsd-vm. It is kept separate
# from haskell.yml because the cache/restore step model in that
# workflow (hackage index, ghcup, deps caches) does not apply inside
# the VM.

name: FREEBSD

on:
workflow_dispatch:
pull_request:
push:
branches:
- master

jobs:
build:
name: >-
freebsd-${{ matrix.release }}
${{ matrix.command }}
${{ matrix.ghc_version }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.ignore_error }}
strategy:
fail-fast: false
matrix:
include:
- release: "14.5"
command: cabal
ghc_version: 9.12.4
ignore_error: false

steps:
- uses: actions/checkout@v4

- name: Build on FreeBSD
uses: vmactions/freebsd-vm@v1
env:
PACKCHECK_COMMAND: ${{ matrix.command }}
GHCVER: ${{ matrix.ghc_version }}
# For updating see: https://downloads.haskell.org/~ghcup/
GHCUP_VERSION: 0.1.50.2
LC_ALL: C.UTF-8
CABAL_REINIT_CONFIG: y
CABAL_CHECK_RELAX: y
CABAL_PROJECT: cabal.project.ci
# The VM has 6 GB of memory, limit the parallel dependency builds.
CABAL_BUILD_OPTIONS: "-j2"
DISABLE_BENCH: "y"
DISABLE_DOCS: "y"
DISABLE_SDIST_BUILD: "y"
DISABLE_DIST_CHECKS: "y"
PACKCHECK: "./packcheck.sh"
PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
PACKCHECK_GITHUB_COMMIT: "20514de6ae27035b0406b4ed46d628c806e40b49"
with:
release: ${{ matrix.release }}
usesh: true
copyback: false
envs: >-
PACKCHECK_COMMAND GHCVER GHCUP_VERSION LC_ALL
CABAL_REINIT_CONFIG CABAL_CHECK_RELAX CABAL_PROJECT CABAL_BUILD_OPTIONS
DISABLE_BENCH DISABLE_DOCS DISABLE_SDIST_BUILD DISABLE_DIST_CHECKS
PACKCHECK PACKCHECK_GITHUB_URL PACKCHECK_GITHUB_COMMIT
prepare: |
pkg update
pkg install -y gmake
pkg install -y bash
pkg install -y git
pkg install -y gmp
run: |
if test ! -e "$PACKCHECK"
then
if test -z "$PACKCHECK_GITHUB_COMMIT"
then
echo "PACKCHECK_GITHUB_COMMIT is not specified." >&2
exit 1
fi
PACKCHECK_URL=${PACKCHECK_GITHUB_URL}/${PACKCHECK_GITHUB_COMMIT}/packcheck.sh
curl --fail -sL -o "$PACKCHECK" $PACKCHECK_URL || exit 1
chmod +x $PACKCHECK
elif test ! -x "$PACKCHECK"
then
chmod +x $PACKCHECK
fi
# Use "bash -c" instead of invoking directly to preserve quoted
# arguments in PACKCHECK_COMMAND.
bash -c "$PACKCHECK $PACKCHECK_COMMAND"
Loading
Loading