Initial muslheap port #2568
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker build | |
on: | |
pull_request: | |
paths: | |
- '**' | |
- '!mkdocs.yml' | |
- '!docs/**' | |
- '!*.md' | |
jobs: | |
docker: | |
strategy: | |
fail-fast: false | |
matrix: | |
images: [ubuntu20.04, ubuntu22.04, debian11, archlinux] | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache for docker images | |
uses: jpribyl/action-docker-layer-caching@v0.1.1 | |
# Ignore the failure of a step and avoid terminating the job. | |
continue-on-error: true | |
with: | |
path: ~/.cache/images | |
key: ${{ matrix.images }}-cache-images-{hash} | |
- name: Docker Build ${{ matrix.images }} | |
run: docker-compose build ${{ matrix.images }} | |
- name: Test on ${{ matrix.images }} | |
run: docker-compose run ${{ matrix.images }} ./tests.sh |