This repository was archived by the owner on Jun 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ # Golang CircleCI 2.0 configuration file
2+ #
3+ # Check https://circleci.com/docs/2.0/language-go/ for more details
4+ version : 2
5+ jobs :
6+ build :
7+ docker :
8+ - image : circleci/golang:1.9
9+ working_directory : /go/src/github.com/fastgitorg/fgit-go
10+ environment :
11+ CGO_ENABLED : 0
12+ steps :
13+ - checkout
14+ - run :
15+ name :
16+ Build AMD64
17+ environmemt :
18+ GOARCH : amd64
19+ command : |
20+ GOOS=windows
21+ go build -o ~/release/fgit-windows-amd64.exe fgit.go
22+ GOOS=darwin
23+ go build -o ~/release/fgit-darwin-amd64 fgit.go
24+ GOOS=linux
25+ go build -o ~/release/fgit-linux-amd64 fgit.go
26+
27+ - run :
28+ name :
29+ Build 386
30+ environmemt :
31+ GOARCH : 386
32+ command : |
33+ GOOS=windows
34+ go build -o ~/release/fgit-windows-386.exe fgit.go
35+ GOOS=linux
36+ go build -o ~/release/fgit-linux-386 fgit.go
37+
38+ - run :
39+ name :
40+ Build ARM
41+ environmemt :
42+ GOARCH : arm
43+ command : |
44+ GOOS=linux
45+ go build -o ~/release/fgit-linux-arm fgit.go
46+
47+ - run :
48+ name :
49+ Build ARM64
50+ environmemt :
51+ GOARCH : arm64
52+ command : |
53+ GOOS=linux
54+ go build -o ~/release/fgit-linux-arm64 fgit.go
55+
56+ - store_artifacts :
57+ path : ~/release
58+ destination : CI Build
You can’t perform that action at this time.
0 commit comments