Merge pull request #1 from koide3/focal

multi-distro CI
This commit is contained in:
koide3 2024-03-29 14:35:44 +09:00 committed by GitHub
commit 66d61731b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
DISTRO: [jammy]
TOOLCHAIN: [gcc, llvm]
steps:
@ -35,5 +36,6 @@ jobs:
uses: docker/build-push-action@v2
with:
file: ${{github.workspace}}/docker/Dockerfile.${{ matrix.TOOLCHAIN }}
build-args: BASE_IMAGE=ubuntu:${{ matrix.DISTRO }}
context: .
push: false

View File

@ -1,4 +1,6 @@
FROM ubuntu:jammy
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ENV DEBIAN_FRONTEND=noninteractive