test dist builds
This commit is contained in:
parent
cb37477e7b
commit
f11ae4cfd7
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user