Nick Craig-Wood
039c260216
build: update to go1.21rc4
2023-08-03 13:53:43 +01:00
Anagh Kumar Baranwal
0ef0e908ca
build: update to go1.21rc3 and make go1.19 the minimum required version
...
Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
2023-07-16 10:09:25 +01:00
Nick Craig-Wood
3affba6fa6
build: remove duplicate linux/arm64 build
2023-03-21 16:25:46 +00:00
Nick Craig-Wood
15e633fa8b
build: disable provenance in docker build
...
To attempt to fix this error:
buildx failed with: ERROR: failed to solve: missing provenance for owlcc15myb2dpmxrz6dl5bzqc
2023-03-20 18:09:54 +00:00
dependabot[bot]
732c24c624
build(deps): bump docker/build-push-action from 3 to 4
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 16:21:22 +00:00
Richard Tweed
6a380bcc67
build: fix dockerfile reference in beta image pipeline
2023-03-20 11:54:31 +00:00
dependabot[bot]
3ddf824251
build(deps): bump actions/setup-go from 3 to 4
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
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>
2023-03-17 14:41:49 +00:00
Nick Craig-Wood
68fdff3c27
build: ensure users with no secrets (dependabot) don't run android upload step
2023-03-17 14:04:46 +00:00
Nick Craig-Wood
c003485ae3
build: ensure users with no secrets (dependabot) don't run deploy step
2023-03-17 13:49:11 +00:00
Richard Tweed
6d620b6d88
build: update docker beta build to latest actions and to push to ghcr
...
* Add ghcr option for docker images
* Update to use the upstream build actions
* Add ability to push beta images manually.
2023-03-17 11:54:01 +00:00
albertony
cec843dd8c
build: run workflow even if tag/branch name contains slash
2023-03-16 17:07:07 +00:00
Ryan Caezar Itang
efac7e18fb
ci: add winget releaser workflow
2023-03-09 14:56:37 +00:00
Anagh Kumar Baranwal
3898d534f3
build: update to go1.20
...
Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
2023-02-03 20:15:15 +00:00
albertony
37623732c6
build: avoid running workflow twice for pull requests with branch on main repo
2023-02-01 16:47:38 +01:00
albertony
5b82576dbf
build: fix condition for manual workflow run
...
See #5275
2023-01-24 20:46:33 +01:00
Nick Craig-Wood
1680c5af8f
build: update to go1.20rc3 and make go1.17 the minimum required version
2023-01-16 11:19:16 +00:00
Nick Craig-Wood
88c0d78639
build: update to fuse3 after bazil.org/fuse update
2023-01-16 11:19:16 +00:00
albertony
178cf821de
build: add vulnerability testing using govulncheck
2022-10-26 12:59:31 +02:00
albertony
c0a8ffcbef
build: setup-go v3 improved semver notation
2022-10-25 20:25:39 +02:00
albertony
76eeca9eae
build: setup-go v3 dropped the stable input
2022-10-25 20:25:39 +02:00
Dimitri Papadopoulos Orfanos
7e547822d6
build: update GitHub actions to latest versions
2022-09-19 19:51:07 +01:00
Nick Craig-Wood
876f791ecd
Revert "build: lint with go1.18 until golangci-lint is updated"
...
This reverts commit 2170376d1b
.
2022-08-05 16:04:54 +01:00
Nick Craig-Wood
2170376d1b
build: lint with go1.18 until golangci-lint is updated
...
See: https://github.com/golangci/golangci-lint/pull/3037
2022-08-03 18:04:58 +01:00
Nick Craig-Wood
8125b1cf08
build: update to v3 of golangci-lint action
2022-08-03 18:04:58 +01:00
Nick Craig-Wood
ba60984f33
build: update to go1.19 and make go1.17 the minimum required version
2022-08-03 18:04:58 +01:00
Nick Craig-Wood
639624184d
build: fix android build after GitHub actions change
...
Before this change the android build started failing with
gomobile: ANDROID_NDK_HOME specifies /usr/local/lib/android/sdk/ndk/25.0.8775105
which is unusable: unsupported API version 16 (not in 19..33)
This was caused by a change to github actions, but is ultimately due
to an issue in gomobile with the newest version of the SDK.
This change fixes the problem by declaring a minimum API version of 21
and using version 21 compilers to build everything and using the
default NDK in github actions.
See: https://github.com/actions/virtual-environments/issues/5930
See: https://github.com/lightningnetwork/lnd/issues/6651
2022-08-03 17:22:35 +01:00
Nick Craig-Wood
140af43c26
build: add 32 bit test runner to avoid problems like #6311
2022-07-14 20:13:03 +01:00
Nick Craig-Wood
336051870e
build: add linux/arm/v6 to docker images - fixes #6192
2022-05-23 18:04:55 +01:00
Nick Craig-Wood
deab86867c
build: support mount on windows/arm64 - all windows binaries now not cgo
...
This builds all windows binaries without CGO but with cmount.
cgofuse has a compile mode which works without CGO on Windows for
amd64/x86/arm64 architectures so switch to using that.
2022-04-29 18:04:21 +01:00
Nick Craig-Wood
c0c5b3bc6b
build: add rclone version step
2022-04-29 18:04:21 +01:00
Nick Craig-Wood
8ba04562c3
build: update android go build to 1.18.x and NDK to 23.1.7779620
2022-04-04 20:35:17 +01:00
Nick Craig-Wood
285747b1d1
build: update to go1.18 and make go1.16 the minimum required version
2022-04-04 20:35:17 +01:00
Nick Craig-Wood
f8073a7b63
build: ensure the Go version used for the build is always up to date #6020
2022-03-17 17:14:50 +00:00
Nick Craig-Wood
74898bac3b
build: add windows/arm64 build - NB this does not support mount yet #5828
2022-03-03 17:13:32 +00:00
Nick Craig-Wood
b447b0cd78
build: upgrade actions runner macos-11 to fix macOS build problems #5951
2022-01-27 17:33:04 +00:00
Nick Craig-Wood
4bd2386632
build: don't specify macos SDK any more as default is good enough #5951
...
This fixes the build, in particular the error:
Failed to run ["xcrun" "--sdk" "macosx11.1" "--show-sdk-path"]: exit status 1
2022-01-27 17:33:04 +00:00
Nick Craig-Wood
c968c3e41c
build: raise minimum go version to go1.15
...
This was necessary because go1.14 seems to have a modules related bug
which means it tries to build modules even though the uses of them are
all disabled with build constraints. This seems to be fixed in go1.15.
2021-11-10 16:11:12 +00:00
Thomas Stachl
015b250905
serve/docker: build docker plugin for multiple platforms #5668
...
Fixes #5462
Co-authored-by: Ivan Andreev <ivandeex@gmail.com>
2021-10-21 13:01:23 +03:00
Nick Craig-Wood
167406bc68
build: switch to using the golangci-lint action for better error reporting
...
The action reports errors to users in their pull requests which is
much easier to understand.
2021-10-15 12:50:22 +01:00
Nick Craig-Wood
036abde393
build: fix indentation in build.yml
2021-10-15 12:50:22 +01:00
x0b
f7f4468cbc
build: update Go to 1.16 and NDK to 22b for android/any
2021-09-03 13:32:48 +03:00
Nick Craig-Wood
2cefae51a1
build: make go1.14 the minimum supported Go for building
2021-08-20 19:04:29 +01:00
Nick Craig-Wood
e4fb5e99ef
build: use go1.17 for building
2021-08-20 19:04:29 +01:00
Ivan Andreev
55153403aa
build docker plugin ( #5415 )
2021-07-10 23:56:09 +03:00
x0b
2833941da8
build: add gomobile android build
2021-04-30 20:39:04 +01:00
Nick Craig-Wood
e33303df94
librclone: add basic Python bindings with tests #4891
2021-04-28 16:55:08 +01:00
Nick Craig-Wood
62bf63d36f
librclone: add tests for build and execute them in the actions #4891
2021-04-28 16:55:08 +01:00
Mathieu Carbou
964088affa
build: Only run event-based workflow scripts under rclone repo with manual override
...
This updates the actions to only run event-based workflow scripts
under the rclone repository only and not forks. It also adds the
ability to manually trigger a build from a branch in rclone repository
and forks.
Fixes #5272
2021-04-26 17:52:03 +01:00
Nick Craig-Wood
f8884a7200
build: fix version numbers in android branch builds
2021-04-20 17:40:06 +01:00
Nick Craig-Wood
2ccf416e83
build: add version to android builds and fix upload
2021-03-26 09:18:54 +00:00