-
Notifications
You must be signed in to change notification settings - Fork 1
70 lines (66 loc) · 1.65 KB
/
_nightly.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
# Generated file: !!! DO NOT EDIT !!!
---
env:
PYPERFORMANCE_HASH: 9164273e5504c410a5be08d8753c91be708fdd9a
PYSTON_BENCHMARKS_HASH: 265655e7f03ace13ec1e00e1ba299179e69f8a00
name: _nightly
on:
schedule:
- cron: 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
nightly:
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
nightly-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
generate:
uses: ./.github/workflows/_generate.yml
if: ${{ always() }}
with:
force: false
needs: [nightly, nightly-nogil]
secrets: inherit
publish:
uses: ./.github/workflows/_publish.yml
if: ${{ always() }}
needs: [generate]
secrets: inherit