Skip to content

Commit

Permalink
CI: add job to test on 20.04 binary built on 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
macno committed Dec 3, 2023
1 parent 3c0cb92 commit e9999e2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,22 @@ jobs:
run: make build
- name: Print theo-agent -version
run: ./build/theo-agent -version
- name: Cross build
run: |
GOOS=linux GOARCH=amd64 make -e buildx
- name: Upload theo-agent
uses: actions/upload-artifact@v3
with:
name: theo-agent-Linux-x86_64
path: build/theo-agent-Linux-x86_64
test-build:
name: Build
needs: build
runs-on: ubuntu-20.04
steps:
- name: Download theo-agent
uses: actions/download-artifact@v3
with:
name: theo-agent-Linux-x86_64
- name: Print theo-agent -version
run: ./theo-agent-Linux-x86_64 -version

0 comments on commit e9999e2

Please sign in to comment.