forked from TrueCloudLab/rclone
build: raise minimum go version to go1.12
This commit is contained in:
parent
78a76b0d29
commit
01adee7554
3 changed files with 5 additions and 10 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
job_name: ['linux', 'mac', 'windows_amd64', 'windows_386', 'other_os', 'go1.11', 'go1.12', 'go1.13', 'go1.14']
|
job_name: ['linux', 'mac', 'windows_amd64', 'windows_386', 'other_os', 'go1.12', 'go1.13', 'go1.14']
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- job_name: linux
|
- job_name: linux
|
||||||
|
@ -69,11 +69,6 @@ jobs:
|
||||||
compile_all: true
|
compile_all: true
|
||||||
deploy: true
|
deploy: true
|
||||||
|
|
||||||
- job_name: go1.11
|
|
||||||
os: ubuntu-latest
|
|
||||||
go: '1.11.x'
|
|
||||||
quicktest: true
|
|
||||||
|
|
||||||
- job_name: go1.12
|
- job_name: go1.12
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
go: '1.12.x'
|
go: '1.12.x'
|
||||||
|
|
|
@ -181,7 +181,7 @@ kill %1
|
||||||
|
|
||||||
## Install from source ##
|
## Install from source ##
|
||||||
|
|
||||||
Make sure you have at least [Go](https://golang.org/) 1.11
|
Make sure you have at least [Go](https://golang.org/) 1.12
|
||||||
installed. [Download go](https://golang.org/dl/) if necessary. The
|
installed. [Download go](https://golang.org/dl/) if necessary. The
|
||||||
latest release is recommended. Then
|
latest release is recommended. Then
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//+build !go1.11
|
//+build !go1.12
|
||||||
|
|
||||||
package fs
|
package fs
|
||||||
|
|
||||||
// Upgrade to Go version 1.11 to compile rclone - latest stable go
|
// Upgrade to Go version 1.12 to compile rclone - latest stable go
|
||||||
// compiler recommended.
|
// compiler recommended.
|
||||||
func init() { Go_version_1_11_required_for_compilation() }
|
func init() { Go_version_1_12_required_for_compilation() }
|
||||||
|
|
Loading…
Reference in a new issue