Maisem Ali
d4916a8be3
.github/workflows: cancel previous CI runs on PR update
...
Currently scheduled runs are not canceled when we update PRs, those
results are unused and the resources are just wasted. Instead of doing
that, this PR makes it so that when a PR is updated (force-pushed or new
commit added) the previous runs are canceled.
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value
Signed-off-by: Maisem Ali <maisem@tailscale.com>
4 years ago
Mihai Parparita
f04bc31820
cmd/tsconnect: add -fast-compression option
...
Changes Gzip and Brotli to optimize for speed instead of size. This
signficantly speeds up Brotli, and is useful when iterating locally
or running the build during a CI job (where we just care that it
can successfully build).
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
4 years ago
Mihai Parparita
9dfcdbf478
.github/workflows: put back CLI in cross-wasm GitHub action
...
Since we're keeping the JS support in the CLI (see https://github.com/tailscale/tailscale/pull/5265#issuecomment-1203078243 ),
make sure it keeps building.
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
4 years ago
Brad Fitzpatrick
e1309e1323
all: require Go 1.19
...
Updates #5210
Change-Id: I2e950b4776636b4ea89b6566b60e4a87596a3a43
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
Mihai Parparita
7e4883b261
.github/workflows: add tsconnect static build to wasm GitHub action
...
Technically not the same as the wasm cross-compilation, but it's
closely connected to it.
Also includes some fixes to tool/yasm to make it actually work on
non-ARM platforms.
Fixes #5134
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
4 years ago
Mihai Parparita
de2dcda2e0
.github/workflows: update module that we try to build in cross-wasm
...
We now have the actual module that we need to build, so switch to
building it directly instead of its (expected) dependencies.
Also fix a copy/paste error in a jsdeps comment.
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
4 years ago
Mihai Parparita
bded712e58
.github/workflows: fix duplicated build target in Wasm action
...
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
4 years ago
Mihai Parparita
7cfc6130e5
.github/workflows: add cross-builder for Wasm
...
For now just checks that we can build cmd/tailscale/cli, will be
broadened once we can actually build more things.
Updates #3157
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
4 years ago
dependabot[bot]
a121b9f263
.github: Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
257d75beb1
.github: Bump actions/setup-go from 2.1.5 to 3
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.1.5 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2.1.5...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Josh Bleecher Snyder
4b1e02057a
.github/workflows: request Go 1.18
...
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
4 years ago
dependabot[bot]
b1b0fd119b
.github: Bump actions/setup-go from 2.1.4 to 2.1.5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2.1.4...v2.1.5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
a56520c3c7
.github: Bump actions/setup-go from 1 to 2.1.4
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 1 to 2.1.4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v1...v2.1.4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Brad Fitzpatrick
ec2b7c7da6
all: bump minimum Go to 1.17
...
In prep for using 1.17 features.
Note the go.mod changes are due to:
https://golang.org/doc/go1.17#go-command
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Brad Fitzpatrick
86d3a6c9a6
Switch to Go 1.16.
...
Fixes #1370
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Brad Fitzpatrick
862d223c39
Switch to Go 1.15.
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago
Avery Pennarun
d9fd5db1e1
Rename master -> main.
...
Background:
https://www.zdnet.com/article/github-to-replace-master-with-alternative-term-to-avoid-slavery-references/
6 years ago
David Anderson
108e3af76f
github: use Go 1.14 in CI.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
6 years ago
David Anderson
47265000da
Revert "update CI and everything to Go 1.14."
...
This reverts commit 905fe9f6a2 .
We're not quite ready to update the Mac/iOS builds to 1.14.
6 years ago
David Anderson
905fe9f6a2
update CI and everything to Go 1.14.
6 years ago
Brad Fitzpatrick
b5346fe7b4
meta: move cross-compiled builds to their own parallel jobs
...
And add FreeBSD.
Fixes #37
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago
evalexpr
e5481f33d3
meta: cross-compile tests for other geese
...
For now this is just darwin/windows, but we'll eventually add support
for {free,open}bsd
Signed-off-by: evalexpr <wilkinsphysics@gmail.com>
6 years ago
Jonathan Wilkins
ae89a7a65d
meta: build different GOOSes in CI
...
First pass at #37 without support for cross-compilation of tests
Signed-off-by: evalexpr <wilkinsphysics@gmail.com>
6 years ago
David Anderson
fb36bb9a88
Add slack notifications to CI.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
David Anderson
3dd4471036
Add a build+test github action, as a quick and cheerful CI.
...
Signed-Off-By: David Anderson <dave@natulte.net>
6 years ago