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 99b6515
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,24 @@ 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: Test Build on 20.04
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: Add execution bit to downloaded file
run: chmod +x ./theo-agent-Linux-x86_64
- name: Print theo-agent -version
run: ./theo-agent-Linux-x86_64 -version

0 comments on commit 99b6515

Please sign in to comment.