| Age | Commit message (Collapse) | Author | Files | Lines |
|
#1817 removed the only place in our CI where we executed our benchmark code.
Fix that by executing it everywhere.
The benchmarks are generally cheap and fast,
so this should add minimal overhead.
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
|
|
To prevent issues like #1786, run staticcheck on the primary GOOSes:
linux, mac, and windows.
Windows also has a fair amount of GOARCH-specific code.
If we ever have GOARCH staticcheck failures on other GOOSes,
we can expand the test matrix further.
This requires installing the staticcheck binary so that
we can execute it with different GOOSes.
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
|
|
This workflow has been disabled for some time.
It can come back later, when appropriate.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
|
|
Updates #50
Updates #833
Signed-off-by: Alex Brainman <alex.brainman@gmail.com>
|
|
Fixes #1370
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Apply Go actions cache, as described in
https://markphelps.me/2019/11/speed-up-your-go-builds-with-actions-cache/
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
|
|
+ we don't need an exactly accurate count of the number of times each
time ran. Remove -covermode, the default "set" will be fine to just
track whether a given line ran at all.
+ add -benchtime=1x. We only need to run the benchmarks once.
+ -bench=. to match any character.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
|
|
We include -bench because some parts of the codebase, like
smallzstd, do not have regular unit tests but do have very
good benchmark tests that covers all functions.
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
|
|
Fixes #872
Signed-off-by: Alex Brainman <alex.brainman@gmail.com>
|
|
Fixes #50
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
See https://github.com/tailscale/depaware
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
|
|
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
Background:
https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/
|
|
|
|
Signed-off-by: David Anderson <danderson@tailscale.com>
|
|
Signed-off-by: David Anderson <dave@natulte.net>
|
|
This reverts commit 905fe9f6a227398c9032cfdee46a20cef43c8fa9.
We're not quite ready to update the Mac/iOS builds to 1.14.
|
|
Signed-off-by: David Anderson <danderson@tailscale.com>
|
|
|
|
And add FreeBSD.
Fixes #37
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
|
|
For now this is just darwin/windows, but we'll eventually add support
for {free,open}bsd
Signed-off-by: evalexpr <wilkinsphysics@gmail.com>
|
|
First pass at #37 without support for cross-compilation of tests
Signed-off-by: evalexpr <wilkinsphysics@gmail.com>
|
|
Signed-off-by: David Anderson <dave@natulte.net>
|
|
Signed-off-by: David Anderson <dave@natulte.net>
|
|
Signed-Off-By: David Anderson <dave@natulte.net>
|