8000 ci: Set up mono repo CI for various container images by corona10 · Pull Request #1 · python/cpython-devcontainers · GitHub
[go: up one dir, main page]

Skip to content

ci: Set up mono repo CI for various container images #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
60E4
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ci

on:
push:
branches:
- "main"
pull_request:
branches: [main]

jobs:
build_autoconf:
name: Build and test
strategy:
fail-fast: false
matrix:
autoconf_version: ["2.69", "2.71", "2.72"]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./autoconf
env:
TAG: autoconf:${{ matrix.autoconf_version }}-${{ github.run_id }}
steps:
- name: Checkout Push to Registry action
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Dockerfile
uses: docker/build-push-action@v5
with:
context: .
build-args: AUTOCONF_VERSION=${{ matrix.autoconf_version }}
load: true
tags: ${{ env.TAG }}
- name: Test
run: docker run --rm $TAG autoconf --version | grep ${{ matrix.autoconf_version }}
0