-
Notifications
You must be signed in to change notification settings - Fork 1
103 lines (96 loc) · 2.4 KB
/
_weekly.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Generated file: !!! DO NOT EDIT !!!
---
env:
PYPERFORMANCE_HASH: ebb37f3583e26ea22cee34126b3b8a815112370b
PYSTON_BENCHMARKS_HASH: 004743ccbd9e54598c543d7eb71fd3b8e10d5750
name: _weekly
on:
schedule:
- cron: 0 0 * * 0
workflow_dispatch: {}
jobs:
# Determine the base commit of the selected commit. The output is passed to
# the `base` job below. If the data already exists for this commit, it will be
# skipped.
determine_head:
runs-on: ubuntu-latest
outputs:
commit: ${{ steps.head.outputs.commit }}
steps:
- name: Checkout CPython
uses: actions/checkout@v4
with:
repository: python/cpython
path: cpython
ref: main
- name: Determine head commit
id: head
run: |
cd cpython
git log -n 1 --format="commit=%H" >> $GITHUB_OUTPUT
weekly:
uses: ./.github/workflows/_benchmark.yml
needs: determine_head
with:
fork: python
ref: ${{ needs.determine_head.outputs.commit }}
machine: all
benchmarks: all
pgo: true
tier2: false
secrets: inherit
weekly-jit:
uses: ./.github/workflows/_benchmark.yml
needs: determine_head
with:
fork: python
ref: ${{ needs.determine_head.outputs.commit }}
machine: all
benchmarks: all
pgo: true
tier2: false
jit: true
secrets: inherit
weekly-nogil:
uses: ./.github/workflows/_benchmark.yml
needs: determine_head
with:
fork: python
ref: ${{ needs.determine_head.outputs.commit }}
machine: all
benchmarks: all
pgo: true
tier2: false
jit: false
nogil: true
secrets: inherit
pystats:
uses: ./.github/workflows/_pystats.yml
needs: determine_head
with:
fork: python
ref: ${{ needs.determine_head.outputs.commit }}
benchmarks: all
individual: true
tier2: false
secrets: inherit
pystats-tier2:
uses: ./.github/workflows/_pystats.yml
needs: determine_head
with:
fork: python
ref: ${{ needs.determine_head.outputs.commit }}
benchmarks: all
individual: true
tier2: true
secrets: inherit
generate:
uses: ./.github/workflows/_generate.yml
with:
force: false
needs: [weekly, weekly-jit, weekly-nogil, pystats, pystats-tier2]
secrets: inherit
publish:
uses: ./.github/workflows/_publish.yml
needs: [generate]
secrets: inherit