summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorEuan <euantorano@users.noreply.github.com>2019-11-29 20:00:54 +0000
committerAndreas Rumpf <rumpf_a@web.de>2019-11-29 21:00:54 +0100
commitc5c6bae2a42734df2ba5fdb7cd8cf327d4e7005f (patch)
tree89463539d96e82ea42ce8d3b013933b3eedf8a04 /testament
parent7e6e399d10691fa12dae101839611bcf2f0d8ae4 (diff)
downloadNim-c5c6bae2a42734df2ba5fdb7cd8cf327d4e7005f.tar.gz
#12103 - CI for FreeBSD (#12179)
* Ref #12103 - adds FreeBSD CI
* Fix getApplFreebsd - length of the string includes the null terminator byte, so minus 1 for result length
* Show last commit in setup task.
* Remove .git from repository URL
* Don't include noisy details showing last commit.
* Add FreeBSD build status badge
* Fix #12182 - disable tconsole on FreeBSD
* Disable tgetaddrinfo on FreebSD as getaddrinfo doesn't support the ICMP protocol.
* Install boehm-gc-threaded
* Use libgc-threaded.so on FreeBSD rather than libgc.so.
* Simplify build failure handling. Update alt text for CI badge.
* Disable test on FreeBSD
* Simplify build config

- use GNU make to build csources
- set PATH variable using the environment key
- remove modification of config to set CC as this is already set

* Install git which seems to be missing from current freebsd images
* Revert change to how path is set
* Add a comment explaining why the length is truncated
* Fix tconsole.
Diffstat (limited to 'testament')
-rw-r--r--testament/specs.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/testament/specs.nim b/testament/specs.nim
index 53578b306..61820c328 100644
--- a/testament/specs.nim
+++ b/testament/specs.nim
@@ -229,6 +229,8 @@ proc parseSpec*(filename: string): TSpec =
         of "32bit":
           if sizeof(int) == 4:
             result.err = reDisabled
+        of "freebsd":
+          when defined(freebsd): result.err = reDisabled
         else:
           result.parseErrors.addLine "cannot interpret as a bool: ", e.value
       of "cmd":