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
82 changes: 82 additions & 0 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: BSD
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
freebsd:
name: FreeBSD
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
release: "14.3"
usesh: true
prepare: |
# pkg-static update
# pkg-static upgrade -y pkg
pkg install -y ghc hs-cabal-install

run: |
pwd
ls -lah
whoami
env
freebsd-version
sysctl hw.model
sysctl hw.ncpu
sysctl hw.physmem
sysctl hw.usermem

ghc --version
cabal --version

cabal update
cabal build all --enable-tests --dry-run
cabal build all --enable-tests
cabal test all --enable-tests --test-show-details=direct

netbsd:
name: NetBSD
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Test in NetBSD
id: test
uses: vmactions/netbsd-vm@v1
with:
release: "10.1"
usesh: true
prepare: |
/usr/sbin/pkg_add ghc cabal-install

run: |
cd $GITHUB_WORKSPACE;
pwd
ls -lah
whoami
env
/sbin/sysctl hw.model
/sbin/sysctl hw.ncpu
/sbin/sysctl hw.physmem
/sbin/sysctl hw.usermem
/usr/bin/vmstat

ghc --version
cabal --version

cabal update
cabal build all --enable-tests --dry-run
cabal build all --enable-tests
cabal test all --enable-tests --test-show-details=direct
6 changes: 3 additions & 3 deletions .github/workflows/simple.yml → .github/workflows/macwin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Simple
name: MacWin
on:
push:
branches:
Expand All @@ -9,7 +9,7 @@ on:

jobs:
native:
name: "Simple: GHC ${{ matrix.ghc }} on ${{ matrix.os }}"
name: "GHC ${{ matrix.ghc }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -24,7 +24,7 @@ jobs:
git config --global core.eol lf

- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4

- name: Set up Haskell
id: setup-haskell
Expand Down
Loading