diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 00000000..d16b4beb --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,16 @@ +env: + CIRRUS_CLONE_DEPTH: 1 + ARCH: amd64 + BASICS: yes + +task: + freebsd_instance: + image: freebsd-12-0-release-amd64 + env: + matrix: + - EMULATOR: simh + # EMULATOR: klh10 + - EMULATOR: pdp10-ka + # EMULATOR: pdp10-kl + install_script: sh -ex build/dependencies.sh install_freebsd + script: gmake all EMULATOR=$EMULATOR diff --git a/build/dependencies.sh b/build/dependencies.sh index a58f05ac..3f45631c 100644 --- a/build/dependencies.sh +++ b/build/dependencies.sh @@ -18,6 +18,15 @@ install_linux() { esac } +install_freebsd() { + pkg upgrade -y + pkg install -y gmake git expect + case "$EMULATOR" in + pdp10-ka) pkg install -y sdl2 sdl2_image pkgconf;; + pdp10-kl) pkg install -y autoconf;; + esac +} + install_osx() { true }