Pavel Odintsov
293ca5f2b6
Upgraded GitHub CI to use Ubuntu 22.04
2023-07-15 18:15:58 +01:00
Yuya Kusakabe
91c6bc729f
ci: update actions
...
- actions/setup-go@v4
- goreleaser/goreleaser-action@v4
- --rm-dist has been deprecated in favor of --clean
- https://goreleaser.com/deprecations/#-rm-dist
2023-03-22 23:17:15 +09:00
Ben Renninson
9f94c96cf4
Get building on Windows
...
Both `gobgpd` and `gobgpd` now build for and run on Windows. This is based on https://github.com/osrg/gobgp/pull/2250/ with less required changes. Tested and confirmed it can peer successfully and receive routes. It still builds on Linux (doesn't change syscalls for non-windows files).
2022-12-29 01:09:32 +00:00
Yuya Kusakabe
97ef13fb78
ci: update actions
...
- actions/checkout@v3
- actions/setup-go@v3
- golangci/golangci-lint-action@v3
- actions/upload-artifact@v3
- actions/download-artifact@v3
- goreleaser/goreleaser-action@v3
2022-10-13 17:09:32 +09:00
Yuya Kusakabe
c521e95d4b
ci: add push event for ci trigger
2022-09-20 14:44:51 +09:00
Yuya Kusakabe
1f024afaa0
test: add scenario test for BGP-MUP SAFI and Extended Community
2022-08-31 20:59:52 +09:00
Vincent Bernat
2c493b54ec
ci: use ubuntu-20.04
...
ubuntu-18.04 is deprecated. Moreover, the shipped versions for pip
does not know how to handle Python's cryptography correctly.
2022-08-29 09:17:32 +02:00
Yuya Kusakabe
2117125f0d
ci: use go 1.18
...
go 1.19 will be released in August 2022 and go 1.17 will reach end of
life in August 2022.
Also update go version in go.mod with `go mod tidy -go=1.18`.
2022-07-21 10:20:17 +09:00
Manuel Rüger
8eeabf8254
.github/release.yml: Build with go 1.17
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu >
2022-03-24 08:00:39 +09:00
FUJITA Tomonori
c0c3fb98b7
ci: add lib-ls example
...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2021-12-14 11:38:10 +00:00
FUJITA Tomonori
f6e2de98eb
ci: use go 1.17
...
net.ErrClosed was added at go 1.16.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2021-12-10 00:16:02 +00:00
FUJITA Tomonori
8b0452aae7
ci: add crossbuild tests
...
add build tests on freebsd, openbsd, and darwin.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2021-12-10 00:16:52 +09:00
FUJITA Tomonori
67ffaf519e
update v3 suffix
...
some minor stuff.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2021-12-09 00:12:47 +00:00
Manuel Rüger
dc67485336
.github/ci: Replace staticcheck with golang-ci-lint
2021-12-08 13:40:16 +01:00
FUJITA Tomonori
c593d7c8b3
switch to Go API v2 for protobuf
...
seems that sticking to Go API v1 for protobuf is headache for projects
using GoBGP.
This breaks the compatibility so bumps up the major version to 3.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2021-12-08 07:22:50 +00:00
Manuel Rüger
f53acb736b
.github/release: Use goreleaser action
...
https://github.com/goreleaser/goreleaser-action#workflow
This simplifies the workflow, allows to define the golang version it is
built with
2021-08-28 20:53:09 +09:00
FUJITA Tomonori
c1c2e05058
ci: fix release action
...
release action should be triggered only when a tag is pushed.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2021-02-13 21:00:55 +09:00
FUJITA Tomonori
9a5c7f32d3
ci: use ubuntu 18.04 for all jobs
...
No need to use 16.04 for some.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2020-11-09 23:31:36 +09:00
FUJITA Tomonori
46b15a7512
run ci on github actions
...
the same ci that we run on travis-ci. github actions is much faster.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2020-11-08 20:41:48 +09:00
FUJITA Tomonori
7581d9a3a5
github: fix release action to generate proper changelog
...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2020-02-01 20:22:02 +09:00
FUJITA Tomonori
23473860a2
github: workaround for action trigger bug
...
https://github.community/t5/GitHub-API-Development-and/How-to-restrict-execution-of-GitHub-Actions-workflow-on-tags/td-p/29567
'tags' doesn't work; the action is executed when anything (tag,
branch, etc) is created. Let's work around.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2019-08-29 15:05:21 +09:00
FUJITA Tomonori
53df699020
release automation by github actions
...
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com >
2019-08-21 13:53:29 +09:00