File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and archive Go Binary
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+ pull_request :
8+ types : [opened, synchronize, reopened]
9+ branches :
10+ - main
11+
12+ jobs :
13+ build :
14+ name : Build
15+ runs-on : ubuntu-24.04-ppc64le
16+
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v5
20+ with :
21+ fetch-depth : 0
22+
23+ - name : Setup Go
24+ run : |
25+ GO_VERSION="1.24.1"
26+ wget https://go.dev/dl/go${GO_VERSION}.linux-ppc64le.tar.gz
27+ sudo tar -C /usr/local -xzf go${GO_VERSION}.linux-ppc64le.tar.gz
28+ echo "/usr/local/go/bin" >> $GITHUB_PATH
29+
30+ - run : go version
31+
32+ - name : Build Go binary
33+ run : |
34+ cd ai-services
35+ make build
36+
37+ - name : Archive binary
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : ai-services-binary
41+ path : ai-services/bin/ai-services
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ nohup.out
55.venv
66env
77venv
8+ vendor
You can’t perform that action at this time.
0 commit comments