Skip to content

Re-include Xvfb as headless Wine seems unreliable with the SDL dummy … #3

Re-include Xvfb as headless Wine seems unreliable with the SDL dummy …

Re-include Xvfb as headless Wine seems unreliable with the SDL dummy … #3

Workflow file for this run

name: Build MinGW cross-compile image
on:
push:
branches:
- master
paths:
- 'Dockerfile'
- 'deps/**'
- 'patch/**'
- 'entry.sh'
- 'functions.sh'
- '.gitmodules'
- 'pywine'
- '.github/workflows/build-image.yml'
workflow_dispatch:
env:
IMAGE: ghcr.io/swi-prolog/swipl-mingw-build
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.IMAGE }}:latest
${{ env.IMAGE }}:sha-${{ github.sha }}
cache-from: type=registry,ref=${{ env.IMAGE }}:cache
cache-to: type=registry,ref=${{ env.IMAGE }}:cache,mode=max