Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
46 changes: 46 additions & 0 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
ls -lah
whoami
env
df -h
freebsd-version
sysctl hw.model
sysctl hw.ncpu
Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
ls -lah
whoami
env
df -h
/sbin/sysctl hw.model
/sbin/sysctl hw.ncpu
/sbin/sysctl hw.physmem
Expand All @@ -80,3 +82,47 @@ jobs:
cabal build all --enable-tests --dry-run
cabal build all --enable-tests
cabal test all --enable-tests --test-show-details=direct

openbsd:
name: OpenBSD
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test in OpenBSD
id: test
uses: vmactions/openbsd-vm@v1
with:
release: "7.7"
usesh: true
prepare: |
pkg_add ghc cabal-install

run: |

date
pwd
ls -lah
whoami
env
df -h
sysctl hw.model
sysctl hw.ncpu
sysctl hw.physmem
sysctl hw.usermem


ghc --version
cabal --version

# OpenBSD image has separate /home partition, / is small
# as we run everything as root, we run out space
# we hack around making cabal write its stuff in /home
mkdir -p /home/cabal
ln -s /home/cabal $HOME/.cabal

cabal update -v
cabal build all --enable-tests --dry-run
cabal build all --enable-tests
cabal test all --enable-tests --test-show-details=direct
7 changes: 5 additions & 2 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.19.20250916
# version: 0.19.20260102
#
# REGENDATA ("0.19.20250916",["github","cabal.project"])
# REGENDATA ("0.19.20260102",["github","cabal.project"])
#
name: Haskell-CI
on:
Expand All @@ -20,6 +20,9 @@ on:
pull_request:
branches:
- master
merge_group:
branches:
- master
jobs:
linux:
name: Haskell-CI - Linux - ${{ matrix.compiler }}
Expand Down
1 change: 0 additions & 1 deletion cbits-unix/init.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdint.h>
#include <unistd.h>
#include <sys/random.h>

uint64_t splitmix_init() {
uint64_t result;
Expand Down
Loading