| 1 |
name: Run docker builds |
| 2 |
|
| 3 |
on: |
| 4 |
workflow_dispatch: |
| 5 |
pull_request: |
| 6 |
push: |
| 7 |
branches: |
| 8 |
- master |
| 9 |
|
| 10 |
permissions: |
| 11 |
contents: read |
| 12 |
|
| 13 |
jobs: |
| 14 |
build_in_docker: |
| 15 |
strategy: |
| 16 |
matrix: |
| 17 |
# gcc-13+,clang-16+ will fail due broken capnp supplied with debian bookworm |
| 18 |
os: [debian, debian-gcc-12, debian-clang-15, ubuntu-24.04, ubuntu-24.10] |
| 19 |
runs-on: ubuntu-latest |
| 20 |
steps: |
| 21 |
- name: Checkout |
| 22 |
uses: actions/checkout@v2 |
| 23 |
|
| 24 |
- name: chdir |
| 25 |
run: cd $GITHUB_WORKSPACE |
| 26 |
|
| 27 |
- name: Build Docker image |
| 28 |
run: docker build -t debian -f tests/Dockerfile.${{ matrix.os }} . |