* 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.
15 lines
275 B
Nim
15 lines
275 B
Nim
discard """
|
|
action: compile
|
|
disabled: "windows"
|
|
disabled: "freebsd"
|
|
"""
|
|
|
|
import sfml, os
|
|
var window = newRenderWindow(videoMode(800, 600), "SFML works!")
|
|
|
|
var event: Event
|
|
discard window.pollEvent(event)
|
|
window.clear(newColor(29, 64, 153, 255))
|
|
window.display()
|
|
|
|
sleep(1000)
|