Skip to content

Commit

Permalink
Add build-executable-ubuntu CI job.
Browse files Browse the repository at this point in the history
  • Loading branch information
drmikehenry committed May 8, 2024
1 parent a2dd754 commit c57dc07
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,33 @@ jobs:
with:
name: "dist-${{ matrix.os }}"
path: dist/

build-executable-ubuntu:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: docker/setup-buildx-action@v3

- uses: docker/build-push-action@v5
with:
context: .
file: "Dockerfile"
tags: romt_build:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
push: false

- name: Run Romt build container
uses: addnab/docker-run-action@v3
with:
image: romt_build:latest
run: poetry run nox -s build
options: -v ".:${{ github.workspace }}"

- uses: actions/upload-artifact@v4
with:
name: dist-ubuntu-latest
path: "dist/"

0 comments on commit c57dc07

Please sign in to comment.