We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0cb92 commit 99b6515Copy full SHA for 99b6515
.github/workflows/go.yml
@@ -26,3 +26,24 @@ jobs:
26
run: make build
27
- name: Print theo-agent -version
28
run: ./build/theo-agent -version
29
+ - name: Cross build
30
+ run: |
31
+ GOOS=linux GOARCH=amd64 make -e buildx
32
+ - name: Upload theo-agent
33
+ uses: actions/upload-artifact@v3
34
+ with:
35
+ name: theo-agent-Linux-x86_64
36
+ path: build/theo-agent-Linux-x86_64
37
+ test-build:
38
+ name: Test Build on 20.04
39
+ needs: build
40
+ runs-on: ubuntu-20.04
41
+ steps:
42
+ - name: Download theo-agent
43
+ uses: actions/download-artifact@v3
44
45
46
+ - name: Add execution bit to downloaded file
47
+ run: chmod +x ./theo-agent-Linux-x86_64
48
+ - name: Print theo-agent -version
49
+ run: ./theo-agent-Linux-x86_64 -version
0 commit comments