Skip to content

Commit

Permalink
build all
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyiming748 committed Nov 30, 2023
1 parent b5b71b5 commit babd0f3
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,21 @@ jobs:
go-version: '1.21'
- name: root
run: pwd
- name: ls
- name: ls1
run: ls /home/runner/work/processAll
- name: ls2
run: ls /home/runner/work/processAll/processAll
- name: Build for linux amd64
- name: Build for linux/amd64
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -o process4LinuxAmd64 /home/runner/work/processAll/processAll/main.go
- name: Build for linux arm64
- name: Build for linux/arm64
run: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -v -o process4LinuxAmd64 /home/runner/work/processAll/processAll/main.go
- name: Build for linux windows 64
- name: Build for windows/amd64
run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -v -o process4Win64.exe /home/runner/work/processAll/processAll/main.go
- name: Build for mac 64
- name: Build for darwin/amd64
run: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -v -o process4Mac /home/runner/work/processAll/processAll/main.go
- name: Build for darwin/arm64
run: CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -v -o process4M1 /home/runner/work/processAll/processAll/main.go
- name: Build for android/arm64
run: CGO_ENABLED=0 GOOS=android GOARCH=arm64 go build -v -o process4android /home/runner/work/processAll/processAll/main.go
# - name: Test
# run: go test -v ./...

0 comments on commit babd0f3

Please sign in to comment.