Skip to content
Snippets Groups Projects
Unverified Commit d68fefae authored by Angelo Capossele's avatar Angelo Capossele Committed by GitHub
Browse files

Merge pull request #279 from iotaledger/develop.mergeBinary

Feat: Change to go 1.14
parents 6d1eeb58 a3af85f6
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,7 @@ jobs: ...@@ -9,7 +9,7 @@ jobs:
name: Release name: Release
runs-on: [ubuntu-latest] runs-on: [ubuntu-latest]
container: container:
image: iotmod/goreleaser-cgo-cross-compiler:1.13.5 image: iotmod/goreleaser-cgo-cross-compiler:1.14
volumes: [/repo] volumes: [/repo]
steps: steps:
......
...@@ -10,10 +10,10 @@ jobs: ...@@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Set up Go 1.13 - name: Set up Go 1.14
uses: actions/setup-go@v1 uses: actions/setup-go@v1
with: with:
go-version: 1.13 go-version: 1.14
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
uses: actions/checkout@v2 uses: actions/checkout@v2
......
...@@ -13,13 +13,9 @@ builds: ...@@ -13,13 +13,9 @@ builds:
- id: goshimmer-darwin-amd64 - id: goshimmer-darwin-amd64
binary: goshimmer binary: goshimmer
env: env:
- CGO_ENABLED=1 - CGO_ENABLED=0
- CC=o64-clang
- CXX=o64-clang++
ldflags: ldflags:
- -s -w -X github.com/iotaledger/goshimmer/plugins/cli.AppVersion={{.Version}} - -s -w -X github.com/iotaledger/goshimmer/plugins/cli.AppVersion={{.Version}}
flags:
- -tags=pow_avx
main: main.go main: main.go
goos: goos:
- darwin - darwin
......
# we need to use alpine to build since cgo is required # we need to use alpine to build since cgo is required
FROM golang:1.13-alpine AS build FROM golang:1.14-alpine AS build
RUN apk add --no-cache git gcc g++ RUN apk add --no-cache git gcc g++
# Set the current Working Directory inside the container # Set the current Working Directory inside the container
......
...@@ -128,7 +128,7 @@ If you want to build your own executable file, you need to follow these steps. ...@@ -128,7 +128,7 @@ If you want to build your own executable file, you need to follow these steps.
#### Prerequisites #### Prerequisites
To complete this guide, you need to have at least [version 1.13 of Go installed](https://golang.org/doc/install) on your device. To complete this guide, you need to have at least [version 1.14 of Go installed](https://golang.org/doc/install) on your device.
To check if you have Go installed, run the following command: To check if you have Go installed, run the following command:
......
...@@ -8,6 +8,7 @@ import ( ...@@ -8,6 +8,7 @@ import (
"github.com/iotaledger/goshimmer/pluginmgr/research" "github.com/iotaledger/goshimmer/pluginmgr/research"
"github.com/iotaledger/goshimmer/pluginmgr/ui" "github.com/iotaledger/goshimmer/pluginmgr/ui"
"github.com/iotaledger/goshimmer/pluginmgr/webapi" "github.com/iotaledger/goshimmer/pluginmgr/webapi"
"github.com/iotaledger/hive.go/node" "github.com/iotaledger/hive.go/node"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment