Add cirrus config for freebsd tests

This commit is contained in:
David Dworken 2022-11-04 21:40:50 -07:00
parent 1de0e60fb6
commit ae0033fb14
No known key found for this signature in database
2 changed files with 9 additions and 1 deletions

8
.cirrus.yml Normal file
View File

@ -0,0 +1,8 @@
freebsd_instance:
image: freebsd-12-2-release-amd64
task:
name: freebsd-test
setup_script:
- pkg install -y bash zsh fish curl go tmux
test_script:
- make test

View File

@ -28,7 +28,7 @@ jobs:
sudo apt-get install -y zsh fish || true
brew install fish tmux bash || true
export TZ='America/Los_Angeles' # Force the time zone so that test output is consistent
sudo chmod 0755 -R /usr/share/zsh/ || true # Work around a weird bug where zsh on ubuntu actiosn gives that diretory 0777 which makes zsh refuse to start
sudo chmod 0755 -R /usr/share/zsh/ || true # Work around a weird bug where zsh on ubuntu actions gives that diretory 0777 which makes zsh refuse to start
sudo hostname ghaction-runner-hostname || true # Set a consistent hostname so we can run tests that depend on it
sudo scutil --set HostName ghaction-runner-hostname || true
make test