Skip to content

Only rebuild images on request, or once 14 days old #58

Only rebuild images on request, or once 14 days old

Only rebuild images on request, or once 14 days old #58

Workflow file for this run

name: Build & Test
on:
push:
pull_request_target:
types:
- opened
- synchronized
- edited
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ompi_version:
- main
- 5.0.3
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build the environment image
uses: ./.github/workflows/build-env
with:
ompi_version: ${{ matrix.ompi_version }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Fenix
uses: docker/bake-action@v5
with:
files: .github/docker-compose.yml
targets: fenix
set: |
*.output=type=docker,name=fenix
*.args.OMPI_VERSION=${{ matrix.ompi_version }}
- name: Test Fenix
run: docker run fenix