Skip to content

CI: report actions (#2) #13

CI: report actions (#2)

CI: report actions (#2) #13

Workflow file for this run

name: pull_request
run-name: >-
${{github.event.pull_request.title}}
(#${{github.event.number}})
on:
pull_request:
branches:
- develop
- backports/**
paths-ignore:
- '**.rst'
- '**.md'
- 'scripts'
- '.jenkins'
- '!scripts/cmake-presets/ci*'
- '!scripts/ci'
- '!scripts/build.sh'
concurrency:
group: pr-${{github.ref}}-${{github.event.number}}-${{github.workflow}}
cancel-in-progress: true
jobs:
metadata:
name: "Save job metadata"
runs-on: ubuntu-latest
steps:
- name: Upload event file
uses: actions/upload-artifact@v4
with:
name: event-file
path: ${{github.event_path}}
build-fast:
uses: ./.github/workflows/build-fast.yml
build-ultralite:
uses: ./.github/workflows/build-ultralite.yml
all-prechecks:
needs: [build-fast, build-ultralite]
runs-on: ubuntu-latest
steps:
- name: Success
run: "true"
build-docker:
uses: ./.github/workflows/build-docker.yml
build-spack:
uses: ./.github/workflows/build-spack.yml
# Specifying a dependent job allows us to select a single "requires" check in the project GitHub settings
all:
if: ${{always()}}
needs:
- all-prechecks
- build-docker
- build-spack
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{toJSON(needs)}}
# vim: set nowrap tw=100: