Skip to content

AMReX: Update to latest development #304

AMReX: Update to latest development

AMReX: Update to latest development #304

Workflow file for this run

name: 👑 CI
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-ci
cancel-in-progress: true
jobs:
stubs:
# Pushes should only run on mainline branch "development"
# TODO: We can also skip this, if the latest commit's name is "Update Stub Files"
if: github.event_name == 'push' && github.repository == 'AMReX-Codes/pyamrex' && github.ref == 'refs/heads/development'
name: 🔄 Update Stub Files
secrets:
PYAMREX_PUSH_TOKEN: ${{ secrets.PYAMREX_PUSH_TOKEN }}
uses: ./.github/workflows/stubs.yml
ubuntu:
if: always() && !contains(needs.*.result, 'failure') && github.event.pull_request.draft == false
name: 🐧 Ubuntu
needs: [stubs]
uses: ./.github/workflows/ubuntu.yml
intel:
name: 🐧 Intel
needs: [ubuntu]
uses: ./.github/workflows/intel.yml
hip:
name: 🐧 HIP
needs: [ubuntu]
uses: ./.github/workflows/hip.yml
macos:
name: 🍏 macOS
needs: [ubuntu]
uses: ./.github/workflows/macos.yml
windows:
name: 🪟 Windows
needs: [ubuntu]
uses: ./.github/workflows/windows.yml
codeql:
name: 🔎 CodeQL
needs: [ubuntu]
permissions:
actions: read
contents: read
security-events: write
uses: ./.github/workflows/codeql.yml
save_pr_number:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.number }}
run: |
echo $PR_NUMBER > pr_number.txt
- uses: actions/upload-artifact@v3
with:
name: pr_number
path: pr_number.txt
retention-days: 1