albertony
4506f35f2e
build: refactor version info and icon resource handling on windows
...
This makes it easier to add resources with any build method, and also when
building librclone.dll.
Goversioninfo is now used as a library, instead of running it as a tool.
2023-11-01 12:44:04 +01:00
Nick Craig-Wood
9197180610
build: fix docker build running out of space
...
This removes some unused SDKs from the build machine to free some
space up before building. It also adds some lines to show the free
space.
2023-10-18 17:55:19 +01:00
Nick Craig-Wood
d3ce795c30
build: fix docker beta build running out of space
...
This removes some unused SDKs from the build machine to free some
space up before building. It also adds some lines to show the free
space.
2023-10-10 15:59:07 +01:00
dependabot[bot]
4349dae784
build(deps): bump docker/setup-qemu-action from 2 to 3
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 10:25:14 +01:00
dependabot[bot]
7ea118aeae
build(deps): bump docker/setup-buildx-action from 2 to 3
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 09:15:26 +01:00
dependabot[bot]
be156133c5
build(deps): bump docker/metadata-action from 4 to 5
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md )
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 15:56:38 +01:00
dependabot[bot]
d494db78d9
build(deps): bump docker/login-action from 2 to 3
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 15:55:58 +01:00
dependabot[bot]
1b9eb74204
build(deps): bump docker/build-push-action from 4 to 5
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
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-09-13 15:55:23 +01:00
dependabot[bot]
2677c43f26
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 08:55:32 +01:00
sitiom
cf65e36cf3
ci: change Winget Releaser job to ubuntu-latest
2023-08-17 11:36:28 +01:00
Nick Craig-Wood
9c09cf9cf6
build: update to released go1.21
2023-08-09 22:41:19 +01:00
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