ci: migrate from focal to jammy, el8 #234
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
on: [ pull_request, push ] | |
name: ci | |
jobs: | |
check-pr: | |
name: validate commits | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- run: git fetch origin main | |
- uses: flux-framework/pr-validator@master | |
ci-checks: | |
runs-on: ubuntu-latest | |
env: | |
TAP_DRIVER_QUIET: 1 | |
FLUX_TEST_TIMEOUT: 300 | |
timeout-minutes: 20 | |
strategy: | |
matrix: | |
include: | |
- name: "jammy - chain_lint" | |
image: "jammy" | |
ompi_branch: "v5.0.0rc12" | |
openpmix_branch: "v4.2.3" | |
coverage: false | |
env: | |
chain_lint: t | |
- name: "el8 - distcheck" | |
image: "el8" | |
ompi_branch: "v5.0.0rc12" | |
openpmix_branch: "v4.2.3" | |
coverage: false | |
env: | |
DISTCHECK: t | |
- name: "el8 - ompi v4.1.4" | |
image: "el8" | |
ompi_branch: "v4.1.4" | |
openpmix_branch: "v3.2.3" | |
coverage: false | |
env: {} | |
- name: "jammy - coverage" | |
image: "jammy" | |
ompi_branch: "v5.0.0rc12" | |
openpmix_branch: "v4.2.3" | |
coverage: true | |
env: | |
COVERAGE: t | |
- name: "fedora34 - ompi v5.0.x" | |
image: "fedora34" | |
ompi_branch: "v5.0.0rc12" | |
openpmix_branch: "v4.2.3" | |
coverage: false | |
env: {} | |
- name: "jammy - ompi v4.1.x" | |
image: "jammy" | |
ompi_branch: "v4.1.x" | |
openpmix_branch: "v4.2.2" | |
coverage: false | |
env: {} | |
- name: "jammy - ompi v4.0.x" | |
image: "jammy" | |
ompi_branch: "v4.0.x" | |
openpmix_branch: "v4.2.2" | |
coverage: false | |
env: {} | |
- name: "el8 - ompi v3.1.x" | |
image: "el8" | |
ompi_branch: "v3.1.x" | |
openpmix_branch: "v4.2.2" | |
coverage: false | |
env: {} | |
- name: "el8 - ompi v3.0.x" | |
image: "el8" | |
ompi_branch: "v3.0.x" | |
openpmix_branch: "v4.2.2" | |
coverage: false | |
env: {} | |
fail-fast: false | |
name: ${{ matrix.name }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: docker-run-checks | |
env: ${{ matrix.env }} | |
run: > | |
./src/test/docker/docker-run-checks.sh | |
-j $(nproc) | |
-i ${{ matrix.image }} | |
--build-arg OMPI_BRANCH=${{ matrix.ompi_branch }} | |
--build-arg OPENPMIX_BRANCH=${{ matrix.openpmix_branch }} | |
-- | |
- name: annotate errors | |
if: failure() || cancelled() | |
run: src/test/checks-annotate.sh | |
- name: coverage report | |
if: success() && matrix.coverage | |
env: | |
DOCKER_REPO: | |
uses: codecov/codecov-action@858dd794fbb81941b6d60b0dca860878cba60fa9 # v3.1.1 |