Skip to content

Commit

Permalink
ci(github): test on FreeBSD and OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Sep 30, 2023
1 parent 51e3156 commit da55acd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ set -e

if [ "$(uname)" = Linux ]; then
sudo apt install -y graphicsmagick
fi
if [ "$(uname)" = NetBSD ]; then
elif [ "$(uname)" = FreeBSD ]; then
sudo pkg install -y gmake GraphicsMagick tcl86
elif [ "$(uname)" = NetBSD ]; then
sudo pkgin -y install gmake GraphicsMagick tcl
elif [ "$(uname)" = OpenBSD ]; then
doas pkg_add -I gmake GraphicsMagick tcl%8.6
fi

gmake test
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,18 @@ jobs:
strategy:
matrix:
os:
- name: freebsd
architecture: x86-64
version: '13.2'
host: ubuntu-latest
- name: netbsd
architecture: x86-64
version: '9.3'
host: ubuntu-latest
- name: openbsd
architecture: x86-64
version: '7.3'
host: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit da55acd

Please sign in to comment.