forked from AMReX-Codes/pyamrex
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (40 loc) · 1.07 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: 👑 CI
# This workflow updates the .pyi stub files for documentation and interactive use.
on: [push, pull_request]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-ci
cancel-in-progress: true
jobs:
ubuntu:
name: 🐧 Ubuntu
uses: ./.github/workflows/ubuntu.yml
intel:
name: 🐧 Intel
uses: ./.github/workflows/intel.yml
hip:
name: 🐧 HIP
uses: ./.github/workflows/hip.yml
macos:
name: 🍏 macOS
uses: ./.github/workflows/macos.yml
windows:
name: 🪟 Windows
uses: ./.github/workflows/windows.yml
stubs:
name: 🔄 Update Stub Files
needs: [ubuntu, intel, hip, macos, windows]
uses: ./.github/workflows/stubs.yml
save_pr_number:
if: github.event_name == 'pull_request'
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