test dist builds
Some checks failed
Lint / golangci-lint (push) Successful in 9m44s
Declarative Tests / test (push) Successful in 20s
Declarative Tests / build (push) Successful in 1m47s
Declarative Tests / build-focal (push) Failing after 2s

This commit is contained in:
Matthew Rich 2024-05-28 12:44:44 -07:00
parent cb37477e7b
commit f11ae4cfd7

View File

@ -93,3 +93,33 @@ jobs:
with:
path: "/root/rpmbuild/**/*.rpm"
- run: echo "This job's status is ${{ job.status }}."
build-focal:
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: ubuntu:focal
env:
GOPATH: /
SSH_AUTH_SOCK: /tmp/ssh.sock
ENVIRONMENT: dev
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- "/etc/gitconfig:/etc/gitconfig:ro"
- "/${{ env.SSH_AUTH_SOCK }}:/tmp/ssh.sock"
- "/opt/gitea/act_runner/.ssh/known_hosts:/root/.ssh/known_hosts"
- "/opt/gitea/act_runner/.gitconfig:/root/.gitconfig:ro"
- "/opt/gitea/act_runner/.git-credentials:/root/.git-credentials:ro"
- "/etc/ssl/certs:/etc/ssl/certs:ro"
options: --cpus 10
steps:
- uses: actions/checkout@v3
- run: make build-deps
- run: make build
- run: make deb
- uses: actions/upload-artifact@v3
with:
name: "ubuntu/focal/jx"
path: "jx"